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:
dong.nguyen committed 2026-10-22 07:29:06 +07:00
1 parent f5687cce1c
commit e6b4d83084
50 files changed
+2215 -961

No files matched your search

+120
View File
@@ -0,0 +1,120 @@
{
"profile": {
"name": "Dong Nguyen",
"bio": "Senior Software Engineer with experience building distributed systems, logistics technology, and AI/ML applications for real-world problems. Focused on system architecture, integration, and production-grade solutions.",
"tagline": [
{
"text": "Building scalable software systems, intelligent logistics solutions, and practical AI applications."
}
],
"philosophy": {
"build-for-the-real-problem": {
"title": "Build for the real problem",
"description": "Don't start with technology. Start with the problem."
},
"think-in-systems": {
"description": "Care about the overall architecture, not just individual components."
},
"measure-impact": {
"description": "Technical implementation must be tied to measurable outcomes."
},
"business-domain-knowledge-is-a-key-of-success": {
"title": "Business domain knowledge is a key of success",
"description": "Don't start with technology. Start with the problem."
}
}
},
"experience": {
"open-to-work": {
"title": "Seeking a New Place",
"responsibilities": [
"Open to Senior Engineer roles: system architecture, integration platforms, full-stack delivery"
]
},
"relax-gap": {
"title": "Relax",
"responsibilities": [
"Intentional break between roles — recovering the rhythm before the next system"
]
},
"lazada-senior-swe": {
"responsibilities": [
"System ownership and architecture design for logistics integration systems",
"Developed IoT-DWS integration solution deployed across 16 sortations",
"Led system maintenance and modernization for production environments",
"Applied Computer Vision and ML to solve real-world operational problems",
"Scrum Master responsibilities — team achieved Scrum Level L3"
]
},
"nexts-founder": {
"title": "CTO & Founder",
"responsibilities": [
"Developed a solution for autonomous vehicles to collect real-time data from onboard sensors and systems, including LiDAR, cameras, GPS, and CAN bus."
]
},
"sap-senior-swe": {
"responsibilities": [
"Team leader managing the B1 Integration product"
]
}
},
"projects": {
"iot-dws-integration": {
"title": "IoT-DWS Integration System",
"summary": "Designed and deployed an integration system between IoT devices and DWS (Dimensioning Weighing Scanning) machines across 16 sortations.",
"sections": {
"context": {
"content": "Took over and rapidly mastered an IoT-DWS system after the previous responsible team member left the project. Needed to quickly understand the current architecture and continue developing the integration solution."
},
"problem": {
"content": "Needed integration between IoT devices (sensors, cameras) and DWS machines — a complex physical system with multiple different protocols (HMI, FTP, HTTP)."
},
"solution": {
"content": "Designed an HTTP-based integration engine with HMAC security, RocketMQ messaging, and protocol adapters for HMI/FTP/HTTP."
},
"challenges": {
"content": "Multiple different protocols, security requirements (HMAC signature), real-time data processing, production reliability."
},
"result": {
"content": "Solution deployed across 16 sortations, stable in production, supporting 3 protocols (HMI, FTP, HTTP)."
}
}
},
"awb-detection": {
"summary": "Applied Computer Vision and Machine Learning to automatically detect and OCR shipping labels from camera images on sortation lines.",
"sections": {
"context": {
"content": "Sortation machines capture images of packages as they move on conveyor belts. Need to automatically read AWB (Air Waybill) from images for tracking and sorting."
},
"problem": {
"content": "White label on white package — traditional CV methods are not robust enough. Needed ML-based detection."
},
"result": {
"content": "Model fine-tuned for AWB detection, processing 70,000 images/month. Presented at Tech Talk workshop."
}
}
},
"facility-management": {
"summary": "Built a digital twin platform for logistics facilities — facility modeling, real-time monitoring, and recommendation system.",
"sections": {
"vision": {
"content": "Transition from manual operations to an Operation Intelligence Platform — collect data, monitor, analyze, recommend, decide."
},
"result": {
"content": "Platform supports facility modeling, real-time visibility, and recommendations for capacity planning."
}
}
},
"local-llm-experiments": {
"summary": "Technical exploration of running local MoE LLMs with llama.cpp — GPU offloading, VRAM optimization, performance tracing.",
"sections": {
"exploration": {
"content": "Technical exploration of MoE (Mixture of Experts), expert routing, GPU offloading, VRAM optimization, prefill/decode pipeline."
},
"learnings": {
"content": "Understand the system → Measure → Analyze → Optimize. Not about showing off hardware — but demonstrating engineering approach."
}
}
}
}
}
+128
View File
@@ -0,0 +1,128 @@
{
"nav": {
"home": "Home",
"resume": "Get resume",
"about": "About",
"experience": "Experience",
"projects": "Projects",
"philosophy": "Philosophy",
"contact": "Contact",
"palette": "Theme",
"paletteAria": "Switch theme color",
"menuAria": "Site menu",
"openMenu": "Open menu",
"closeMenu": "Close menu",
"groupMenu": "Menu",
"groupAppearance": "Appearance",
"themeGroup": "Mode",
"themeDark": "Dark",
"themeLight": "Light",
"langGroup": "Language",
"langEn": "English",
"langVi": "Tiếng Việt",
"langSwitch": "Switch language",
"switchTo": "Switch to",
"mainNav": "Main navigation",
"themeSwitch": "Switch display mode",
"themeMode": "Display mode"
},
"social": {
"heading": "Connect",
"aria": {
"github": "View GitHub profile",
"linkedin": "View LinkedIn profile",
"email": "Send email",
"telegram": "Open Telegram chat"
}
},
"footer": {
"copyright": "All rights reserved",
"links": {
"home": "Home",
"about": "About",
"projects": "Projects",
"contact": "Contact"
}
},
"hero": {
"greeting": "Hi, I'm",
"ctaProjects": "View Projects",
"ctaContact": "Contact Me",
"scroll": "Scroll"
},
"about": {
"heading": "About Me",
"subtitle": "Senior Software Engineer with deep expertise in distributed systems, logistics technology, and practical AI applications.",
"engineeringTitle": "How I Think About Engineering",
"exploringTitle": "What I'm Exploring",
"exploringTitlePage": "What I'm Currently Exploring",
"expertise": "Core Expertise"
},
"expertise": {
"heading": "Core Expertise"
},
"experience": {
"heading": "Experience",
"tldr": "TL;DR",
"tldrText": "15 years of experience, more than 8 companies along the way. Too long to tell."
},
"projects": {
"featured": "Featured Projects",
"all": "Projects",
"viewAll": "View All",
"viewDetails": "View Details",
"categories": {
"software-engineering": "Software Engineering",
"logistics": "Logistics",
"ai-ml": "AI / ML",
"computer-vision": "Computer Vision",
"architecture": "Architecture",
"experiment": "Experiment"
}
},
"contact": {
"heading": "Contact",
"email": "Email",
"github": "GitHub",
"linkedin": "LinkedIn",
"telegram": "Telegram"
},
"projectDetail": {
"notFound": "Project Not Found",
"backToProjects": "Back to Projects",
"impact": "Impact",
"role": "Role",
"technologies": "Technologies",
"experiments": "Engineering Experiments"
},
"philosophy": {
"heading": "Philosophy",
"quotes": [
{
"title": "Time is priceless",
"details": [
"Time is priceless. You can’t buy it, pause it, or rewind it. Once it’s gone, it’s gone for good.",
"We spend so much of our lives chasing things—money, status, validation—but time is the one thing we can never earn back.",
"So be mindful of how you use it. Invest it in what truly matters: the people you love, the goals that inspire you, the moments that feed your soul."
]
}
]
},
"common": {
"resumeDownload": "Get Resume",
"resumeModalTitle": "Get Resume",
"resumeModalAria": "Choose resume language",
"resumeModalHint": "Choose a language — the PDF downloads to your device.",
"resumeModalClose": "Close resume options",
"backToTop": "Scroll to top",
"contactTag": "Contact",
"experienceTag": "Experience"
},
"resume": {
"EXPERIENCE": "Experience",
"SKILLS": "Skills",
"PROJECTS": "Projects",
"UPDATED": "Last updated",
"QR_ALT": "QR code"
}
}
+188
View File
@@ -0,0 +1,188 @@
{
"profile": {
"name": "Nguyễn Đông",
"title": "Senior Software Engineer",
"bio": "Senior Software Engineer với kinh nghiệm xây dựng hệ thống phân tán, logistics technology, và ứng dụng AI/ML vào bài toán thực tế. Tập trung vào system architecture, integration, và production-grade solutions.",
"tagline": [
{
"text": "Phần lớn thời gian tôi là Backend Software Engineer. Muốn tôi là Full Stack Developer, "
},
{
"text": "yes",
"emphasis": true
},
{
"text": ", có thể."
}
],
"philosophy": {
"build-for-the-real-problem": {
"title": "Giải pháp được xây dựng dựa trên vấn đề thực tế",
"description": "Không bắt đầu bằng technology. Bắt đầu bằng problem."
},
"think-in-systems": {
"title": "Think in systems",
"description": "Quan tâm đến kiến trúc tổng thể, không chỉ từng component."
},
"measure-impact": {
"title": "Measure impact",
"description": "Technical implementation phải gắn với measurable outcome."
},
"keep-learning": {
"title": "Keep learning",
"description": "Continuous exploration of new technologies and approaches."
},
"business-domain-knowledge-is-a-key-of-success": {
"title": "Kiến thức nghiệp vụ là chìa khóa thành công",
"description": "Hiểu sâu về business domain giúp hiểu rõ vấn đề và đưa ra giải pháp phù hợp."
}
}
},
"skills": {
"software-engineering": {
"title": "Software Engineering"
},
"system-architecture": {
"title": "System Architecture"
},
"logistics-technology": {
"title": "Logistics Technology"
},
"ai-ml": {
"title": "AI / ML"
},
"infrastructure": {
"title": "Infrastructure"
},
"engineering-practices": {
"title": "Engineering Practices"
}
},
"experience": {
"open-to-work": {
"title": "Đang tìm nơi làm việc mới",
"responsibilities": [
"Sẵn sàng cho vai trò Senior Engineer: system architecture, integration platform, full-stack delivery"
]
},
"relax-gap": {
"title": "Nghỉ ngơi",
"responsibilities": [
"Nghỉ có chủ đích giữa hai vai trò — lấy lại nhịp trước khi nhận hệ thống tiếp theo",
"Tự thử nghiệm theo nhịp riêng: local LLM với llama.cpp, đọc về Computer Vision"
]
},
"lazada-senior-swe": {
"title": "Senior Software Engineer",
"responsibilities": [
"System ownership và architecture design cho logistics integration systems",
"Developed IoT-DWS integration solution deployed across 16 sortations",
"Led system maintenance and modernization for production environments",
"Applied Computer Vision and ML to solve real-world operational problems",
"Scrum Master responsibilities — team achieved Scrum Level L3"
]
},
"nexts-founder": {
"title": "Người sáng lập",
"responsibilities": [
"Phát triển giải pháp cho xe tự hành, thu thập dữ liệu thời gian thực từ cảm biến và hệ thống onboard: LiDAR, camera, GPS, CAN bus."
]
},
"sap-senior-swe": {
"title": "Senior Software Engineer",
"responsibilities": [
"Team leader quản lý sản phẩm B1 Integration"
]
}
},
"projects": {
"iot-dws-integration": {
"title": "Tích hợp hệ thống IoT-DWS",
"summary": "Thiết kế và triển khai hệ thống integration giữa IoT devices và DWS (Dimensioning Weighing Scanning) machines cho 16 sortations.",
"sections": {
"context": {
"title": "Context",
"content": "Tiếp nhận và nhanh chóng làm chủ một hệ thống IoT-DWS sau khi thành viên phụ trách trước đó rời project. Cần hiểu nhanh architecture hiện tại và tiếp tục phát triển integration solution."
},
"problem": {
"title": "Problem",
"content": "Cần integration giữa các IoT devices (sensors, cameras) và DWS machines — hệ thống vật lý phức tạp với nhiều protocol khác nhau (HMI, FTP, HTTP)."
},
"solution": {
"title": "Solution",
"content": "Thiết kế HTTP-based integration engine với HMAC security, RocketMQ messaging, và protocol adapters cho HMI/FTP/HTTP."
},
"architecture": {
"title": "Architecture",
"content": "```text\nIoT Devices\n ↓\nProtocol Adapters (HMI/FTP/HTTP)\n ↓\nHTTP Engine + HMAC Security\n ↓\nRocketMQ\n ↓\nDWS Machines\n```"
},
"challenges": {
"title": "Challenges",
"content": "Nhiều protocol khác nhau, security requirements (HMAC signature), real-time data processing, production reliability."
},
"result": {
"title": "Result",
"content": "Giải pháp được triển khai cho 16 sortations, ổn định trong production, hỗ trợ 3 protocols (HMI, FTP, HTTP)."
}
}
},
"awb-detection": {
"title": "AWB Detection / Computer Vision",
"summary": "Ứng dụng Computer Vision và Machine Learning để tự động phát hiện và OCR shipping label từ hình ảnh camera trên sortation.",
"sections": {
"context": {
"title": "Context",
"content": "Sortation machines chụp ảnh packages khi di chuyển trên băng chuyền. Cần tự động đọc AWB (Air Waybill) từ ảnh để tracking và sorting."
},
"problem": {
"title": "Problem",
"content": "White label trên white package — traditional CV methods không đủ robust. Cần ML-based detection."
},
"pipeline": {
"title": "Pipeline",
"content": "```text\nImage\n ↓\nAWB/Label Detection (YOLO)\n ↓\nBounding Box / OBB\n ↓\nRotation Correction\n ↓\nCrop\n ↓\nOCR\n ↓\nText Extraction\n```"
},
"challenges": {
"title": "Challenges",
"content": "White label on white package, rotated labels, varying lighting conditions, real-time inference requirements."
},
"result": {
"title": "Result",
"content": "Model fine-tuned cho AWB detection, xử lý 70,000 images/month. Presentation tại Tech Talk workshop."
}
}
},
"facility-management": {
"title": "Facility Management Platform",
"summary": "Xây dựng nền tảng digital twin cho logistics facilities — mô hình hóa facility, theo dõi real-time, và recommendation system.",
"sections": {
"vision": {
"title": "Vision",
"content": "Chuyển đổi từ manual operations sang Operation Intelligence Platform — thu thập data, monitor, analyze, recommend, decide."
},
"architecture": {
"title": "Architecture",
"content": "```text\nPhysical Facility\n ↓\nData Collection\n ↓\nFacility Model\n ↓\nDigital Twin\n ↓\nSimulation\n ↓\nAnalytics\n ↓\nRecommendation\n ↓\nOperation Decision\n```"
},
"result": {
"title": "Result",
"content": "Platform hỗ trợ facility modeling, real-time visibility, và recommendation cho capacity planning."
}
}
},
"local-llm-experiments": {
"title": "Local LLM Experiments",
"summary": "Technical exploration về running local MoE LLMs với llama.cpp — GPU offloading, VRAM optimization, performance tracing.",
"sections": {
"exploration": {
"title": "Exploration",
"content": "Technical exploration về MoE (Mixture of Experts), expert routing, GPU offloading, VRAM optimization, prefill/decode pipeline."
},
"learnings": {
"title": "Lessons Learned",
"content": "Understand the system → Measure → Analyze → Optimize. Không phải khoe hardware — mà thể hiện engineering approach."
}
}
}
}
}
+128
View File
@@ -0,0 +1,128 @@
{
"nav": {
"home": "Trang chủ",
"resume": "Tải CV",
"about": "Giới thiệu",
"experience": "Kinh nghiệm",
"projects": "Dự án",
"philosophy": "Triết lý",
"contact": "Liên hệ",
"palette": "Giao diện",
"paletteAria": "Đổi màu giao diện",
"menuAria": "Menu trang",
"openMenu": "Mở menu",
"closeMenu": "Đóng menu",
"groupMenu": "Menu",
"groupAppearance": "Giao diện",
"themeGroup": "Chế độ",
"themeDark": "Tối",
"themeLight": "Sáng",
"langGroup": "Ngôn ngữ",
"langEn": "English",
"langVi": "Tiếng Việt",
"langSwitch": "Đổi ngôn ngữ",
"switchTo": "Chuyển sang",
"mainNav": "Điều hướng chính",
"themeSwitch": "Đổi chế độ hiển thị",
"themeMode": "Chế độ hiển thị"
},
"social": {
"heading": "Kết nối",
"aria": {
"github": "Xem hồ sơ GitHub",
"linkedin": "Xem hồ sơ LinkedIn",
"email": "Gửi email",
"telegram": "Mở chat Telegram"
}
},
"footer": {
"copyright": "Bảo lưu mọi quyền",
"links": {
"home": "Trang chủ",
"about": "Giới thiệu",
"projects": "Dự án",
"contact": "Liên hệ"
}
},
"hero": {
"greeting": "Xin chào, tôi là",
"ctaProjects": "Xem dự án",
"ctaContact": "Liên hệ",
"scroll": "Cuộn"
},
"about": {
"heading": "Giới thiệu",
"subtitle": "Kỹ sư phần mềm cao cấp với chuyên môn sâu về hệ thống phân tán, công nghệ logistics và ứng dụng AI thực tiễn.",
"engineeringTitle": "Cách tôi tư duy về kỹ thuật",
"exploringTitle": "Những điều tôi đang tìm hiểu",
"exploringTitlePage": "Những điều tôi đang tìm hiểu",
"expertise": "Chuyên môn"
},
"expertise": {
"heading": "Chuyên môn"
},
"experience": {
"heading": "Kinh nghiệm",
"tldr": "TL;DR",
"tldrText": "15 năm kinh nghiệm, hơn 8 công ty đã đi qua. Quá dài để kể hết."
},
"projects": {
"featured": "Dự án nổi bật",
"all": "Dự án",
"viewAll": "Xem tất cả",
"viewDetails": "Xem chi tiết",
"categories": {
"software-engineering": "Kỹ thuật phần mềm",
"logistics": "Logistics",
"ai-ml": "AI / ML",
"computer-vision": "Computer Vision",
"architecture": "Kiến trúc",
"experiment": "Thử nghiệm"
}
},
"contact": {
"heading": "Liên hệ",
"email": "Email",
"github": "GitHub",
"linkedin": "LinkedIn",
"telegram": "Telegram"
},
"projectDetail": {
"notFound": "Không tìm thấy dự án",
"backToProjects": "Quay lại dự án",
"impact": "Tác động",
"role": "Vai trò",
"technologies": "Công nghệ",
"experiments": "Thí nghiệm kỹ thuật"
},
"philosophy": {
"heading": "Triết lý",
"quotes": [
{
"title": "Thời gian là vô giá",
"details": [
"Thời gian là vô giá. Bạn không thể mua nó bằng tiền, không thể khiến nó dừng lại, cũng chẳng thể quay ngược về quá khứ. Một khi thời gian đã trôi qua, nó sẽ mãi mãi không trở lại.",
"Chúng ta dành quá nhiều thời gian trong cuộc đời để theo đuổi những thứ như tiền bạc, địa vị và sự công nhận từ người khác. Nhưng thời gian là thứ duy nhất mà chúng ta không bao giờ có thể lấy lại.",
"Vì vậy, hãy luôn ý thức về cách bạn sử dụng thời gian của mình. Hãy dành thời gian cho những điều thực sự quan trọng: những người bạn yêu thương, những mục tiêu truyền cảm hứng cho bạn và những khoảnh khắc nuôi dưỡng tâm hồn bạn."
]
}
]
},
"common": {
"resumeDownload": "Tải CV",
"resumeModalTitle": "Tải CV",
"resumeModalAria": "Chọn ngôn ngữ CV",
"resumeModalHint": "Chọn ngôn ngữ — PDF sẽ tải về máy của bạn.",
"resumeModalClose": "Đóng tùy chọn tải CV",
"backToTop": "Cuộn lên đầu trang",
"contactTag": "Liên hệ",
"experienceTag": "Kinh nghiệm"
},
"resume": {
"EXPERIENCE": "Kinh nghiệm",
"SKILLS": "Kỹ năng",
"PROJECTS": "Dự án",
"UPDATED": "Cập nhật lần cuối",
"QR_ALT": "mã QR"
}
}