refactor(i18n): move person text out of ui.json and localize structure-held strings (spec-v4 rows 18-19)

Row 18: ui.about.subtitle/experience.tldrText/philosophy.quotes -> profile.subtitle/.tldr/.philosophyQuotes in content.{vi,en}.json; call sites repointed with EditableText wrap; SectionHeading subtitle prop becomes ReactNode; edit.fields labels added. Row 19: experience.company/.duration, projects.role/.metrics, profile.currentInterests/.roles, philosophy keywords move to text documents; VI carries localized dates/company labels/metrics, en overrides with originals, proper nouns and term lists identical (en omits); draft templates, JsonPanel hints, loader comments, resume TL;DR follow the new shapes. Verified: build, validate:content, lint (no new warnings), smoke-draft 7/7, per-language SSR marker smoke on affected routes, build:resume-all.
This commit is contained in:
dong.nguyen committed 2026-10-22 22:53:26 +07:00
1 parent 2c3ee8271d
commit fecbd44899
23 files changed
+273 -169

No files matched your search

-10
View File
@@ -1,33 +1,23 @@
[
{
"id": "open-to-work",
"company": "Open to new opportunities",
"duration": "Nov 2026 – Present",
"variant": "current"
},
{
"id": "relax-gap",
"company": "Career break",
"duration": "Aug 2026 – Oct 2026",
"variant": "gap"
},
{
"id": "lazada-senior-swe",
"company": "Lazada Tech Hub Vietnam",
"duration": "Jan 2020 – Aug 2026",
"location": "Ho Chi Minh City, Vietnam",
"logo": "lazada"
},
{
"id": "nexts-founder",
"company": "Nexts Limited Company",
"duration": "06/2019 – 12/2019",
"location": "Ho Chi Minh City, Vietnam"
},
{
"id": "sap-senior-swe",
"company": "SAP Lab Vietnam",
"duration": "2017 – 12/2019",
"location": "Ho Chi Minh City, Vietnam",
"logo": "sap"
}
+3 -3
View File
@@ -1,7 +1,7 @@
// Typed loader for the experience structure document (spec-v4 D2) — see the
// note in profile.ts. Titles and responsibilities are localized text in the
// content dictionaries; company, duration, location, variant, and logo are
// language-neutral structure.
// note in profile.ts. Titles, company, duration, and responsibilities are
// localized text in the content dictionaries (row 19); location, variant, and
// logo are language-neutral structure.
import experienceJson from './experience.json';
import type { ExperienceStructure } from '../i18n/dict-types';
+5 -46
View File
@@ -8,62 +8,21 @@
"linkedinHandle": "dong-nz",
"telegramUrl": "https://t.me/dongdn",
"telegramHandle": "dongdn",
"currentInterests": [
"AI in logistics",
"Digital twins",
"Simulation",
"LLM",
"Computer Vision",
"High-performance systems"
],
"roles": [
"System Architect",
"Full-Stack Developer",
"System Engineer",
"AI/ML Application Engineer"
],
"philosophy": [
{
"id": "build-for-the-real-problem",
"keywords": [
"Problem-first",
"Business value",
"Measurement"
]
"id": "build-for-the-real-problem"
},
{
"id": "think-in-systems",
"keywords": [
"Architecture",
"Integration",
"Scalability",
"Reliability"
]
"id": "think-in-systems"
},
{
"id": "measure-impact",
"keywords": [
"Performance",
"Reliability",
"Cost",
"Efficiency"
]
"id": "measure-impact"
},
{
"id": "keep-learning",
"keywords": [
"AI/ML",
"Computer Vision",
"LLM",
"Distributed systems"
]
"id": "keep-learning"
},
{
"id": "business-domain-knowledge-is-a-key-of-success",
"keywords": [
"Biz knowledge",
"Business value"
]
"id": "business-domain-knowledge-is-a-key-of-success"
}
]
}
+1
View File
@@ -1,4 +1,5 @@
// Typed loader for the profile structure document (spec-v4 D2). Localized text
// — including interests, roles, and philosophy keywords/quotes (row 19) —
// lives in src/i18n/locales and is joined in src/i18n/index.ts; this module
// exports the language-neutral structure under today's name, for the i18n
// loader and for scripts/generate-sitemap.ts.
-10
View File
@@ -2,7 +2,6 @@
{
"id": "iot-dws-integration",
"category": "logistics",
"role": "Senior Software Engineer — System Owner",
"technologies": [
"Java",
"HTTP",
@@ -10,9 +9,6 @@
"RocketMQ",
"DWS"
],
"metrics": [
"16 sortations deployed"
],
"featured": true,
"sections": [
{
@@ -44,7 +40,6 @@
{
"id": "awb-detection",
"category": "computer-vision",
"role": "Senior Software Engineer — ML Engineering",
"technologies": [
"Python",
"OpenCV",
@@ -52,9 +47,6 @@
"ONNX",
"OCR"
],
"metrics": [
"70,000 images/month processed"
],
"featured": true,
"sections": [
{
@@ -82,7 +74,6 @@
{
"id": "facility-management",
"category": "software-engineering",
"role": "Senior Software Engineer — Platform Design",
"technologies": [
"Go",
"TypeScript",
@@ -108,7 +99,6 @@
{
"id": "local-llm-experiments",
"category": "experiment",
"role": "Engineering Experiment",
"technologies": [
"llama.cpp",
"Qwen",
+5 -4
View File
@@ -1,8 +1,9 @@
// Typed loader for the projects structure document (spec-v4 D2) — see the note
// in profile.ts. Titles, summaries, and section prose are localized text in the
// content dictionaries; ids, categories, roles, technologies, metrics,
// featured, and section {id, type} are language-neutral structure. Project ids
// already appear in URLs and the sitemap, so they are the stable join keys.
// in profile.ts. Titles, summaries, roles, metrics, and section prose are
// localized text in the content dictionaries (row 19); ids, categories,
// technologies, featured, and section {id, type} are language-neutral
// structure. Project ids already appear in URLs and the sitemap, so they are
// the stable join keys.
import projectsJson from './projects.json';
import type { ProjectStructure } from '../i18n/dict-types';