mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-22 16:10:40 +07:00
refactor(i18n): split content into structure JSON and per-language dictionaries
Phase 1 of spec-v4-live-edit: data/i18n foundation, no visible feature.
- src/data/{profile,skills,experience,projects}.json: language-neutral
structure documents with thin typed loaders; all prose moved to
src/i18n/locales/{vi,en}/content.json; chrome strings to ui.json
- src/i18n/: dict-types, cross-document validator (runs at module load and
via pnpm validate:content), loader joining structure+text once (UI/CONTENT),
I18nProvider/useI18n mounted in App under LanguageProvider
- all 22 consumers read joined records via useI18n(); field.ts and
strings.ts deleted; *En field pairs removed from the domain types
- hero tagline renders as plain-text segments (D9); philosophy quotes as
paragraph arrays; footer display name now localizes per language (D6)
- resume generator consumes UI/CONTENT; generated resume HTML verified
byte-identical (EN+VI) before/after the migration
- AGENTS.md and v3/v3-i18n + v4 specs updated; deploy.yml concurrency group
This commit is contained in:
1 parent
f5687cce1c
commit
e6b4d83084
50 files changed
+2215
-961
No files matched your search
@@ -0,0 +1,64 @@
|
||||
[
|
||||
{
|
||||
"id": "software-engineering",
|
||||
"skills": [
|
||||
"Java",
|
||||
"Go",
|
||||
"TypeScript",
|
||||
"Distributed Systems",
|
||||
"REST APIs",
|
||||
"Microservices"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "system-architecture",
|
||||
"skills": [
|
||||
"System Design",
|
||||
"Integration Architecture",
|
||||
"Event-driven Architecture",
|
||||
"Message Queues",
|
||||
"API Design"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "logistics-technology",
|
||||
"skills": [
|
||||
"Sortation",
|
||||
"Warehouse / Facility Operations",
|
||||
"Package Flow",
|
||||
"Operational Intelligence",
|
||||
"Facility Modeling"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "ai-ml",
|
||||
"skills": [
|
||||
"Computer Vision",
|
||||
"Object Detection",
|
||||
"OCR",
|
||||
"Model Deployment",
|
||||
"LLM",
|
||||
"AI-assisted Engineering"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "infrastructure",
|
||||
"skills": [
|
||||
"Docker",
|
||||
"Linux",
|
||||
"CI/CD",
|
||||
"Networking",
|
||||
"Middleware"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "engineering-practices",
|
||||
"skills": [
|
||||
"Agile / Scrum",
|
||||
"Technical Documentation",
|
||||
"System Maintenance",
|
||||
"Performance Optimization",
|
||||
"Technical Research"
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in new issue
Block a user