feat: Complete Spanish, French, Portuguese, Chinese localization and add German/Italian support
Some checks failed
CI/CD Pipeline / Lint and Test (push) Has been cancelled
CI/CD Pipeline / E2E Tests (push) Has been cancelled
CI/CD Pipeline / Build Application (push) Has been cancelled

- Updated all Spanish (es) translation files with comprehensive translations for tracking, AI, family, insights, children, and settings pages
- Updated French (fr), Portuguese (pt), and Chinese (zh) translations to match English structure
- Added German (de) and Italian (it) language support with complete translation files
- Fixed medicine tracker route from /track/medication to /track/medicine
- Updated i18n config to support 7 languages: en, es, fr, pt, zh, de, it
- All tracking pages now fully localized: sleep, feeding, diaper, medicine, activity
- AI assistant interface fully translated with thinking messages and suggested questions
- Family management and insights pages now support all languages

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-03 15:03:02 +00:00
parent 41320638e5
commit 58c3a8d9d5
74 changed files with 5413 additions and 1735 deletions

View File

@@ -1,23 +1,44 @@
{
"title": "儿童",
"subtitle": "管理您家庭的儿童档案",
"addChild": "添加儿童",
"addFirstChild": "添加第一个儿童",
"editChild": "编辑儿童",
"deleteChild": "删除儿童",
"noChildren": "还没有添加儿童",
"noChildrenSubtitle": "添加您的第一个儿童以开始踪他们的活动",
"title": "孩子",
"subtitle": "管理您家庭的孩子档案",
"addChild": "添加孩子",
"addFirstChild": "添加第一个孩子",
"editChild": "编辑孩子",
"deleteChild": "删除孩子",
"noChildren": "还没有添加孩子",
"noChildrenSubtitle": "添加您的第一个孩子开始踪他们的活动",
"age": "年龄",
"gender": {
"male": "男",
"female": "女",
"other": "其他"
},
"dialog": {
"name": "姓名",
"birthDate": "出生日期",
"gender": "性别",
"photoUrl": "照片URL可选",
"photoPlaceholder": "https://example.com/photo.jpg",
"cancel": "取消",
"add": "添加",
"update": "更新",
"saving": "保存中...",
"delete": "删除",
"deleting": "删除中...",
"confirmDelete": "确认删除",
"confirmDeleteMessage": "您确定要删除",
"confirmDeleteWarning": "此操作无法撤销。所有相关数据将被永久删除。",
"validation": {
"nameRequired": "请输入姓名",
"birthDateRequired": "请选择出生日期",
"birthDateFuture": "出生日期不能是未来日期"
}
},
"errors": {
"noFamily": "未找到家庭。请先完成入职流程。",
"loadFailed": "加载儿童失败",
"saveFailed": "保存儿童失败",
"deleteFailed": "删除儿童失败",
"noFamily": "未找到家庭。请先完成入门设置。",
"loadFailed": "加载孩子信息失败",
"saveFailed": "保存孩子信息失败",
"deleteFailed": "删除孩子失败",
"noFamilyId": "未找到家庭ID"
},
"ageFormat": {
@@ -26,4 +47,4 @@
"month": "个月",
"months": "个月"
}
}
}