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

@@ -0,0 +1,73 @@
{
"title": "洞察与分析",
"subtitle": "跟踪模式并获取关于您孩子活动的洞察",
"filters": {
"child": "孩子",
"dateRange": {
"7days": "7天",
"30days": "30天",
"3months": "3个月"
}
},
"stats": {
"feedings": {
"title": "喂养",
"subtitle": "总次数"
},
"sleep": {
"title": "睡眠",
"subtitle": "每日平均"
},
"diapers": {
"title": "尿布",
"subtitle": "总更换次数"
},
"topActivity": {
"title": "主要活动",
"subtitle": "最频繁"
}
},
"charts": {
"feedingFrequency": "喂养频率",
"sleepDuration": "睡眠时长(小时)",
"diaperChangesByType": "按类型分类的尿布更换",
"activityTimeline": "活动时间线",
"activityDistribution": "活动分布",
"chartLabels": {
"feedings": "喂养",
"diapers": "尿布",
"sleepHours": "睡眠(小时)"
}
},
"recentActivities": {
"title": "最近活动最近20次"
},
"emptyStates": {
"noChildren": {
"title": "未添加孩子",
"message": "添加孩子以查看洞察和分析",
"action": "添加孩子"
},
"noActivities": "在选定的日期范围内未找到活动。开始跟踪活动以查看洞察!"
},
"errors": {
"loadChildren": "加载孩子信息失败",
"loadActivities": "加载活动失败"
},
"activityTypes": {
"feeding": "喂养",
"sleep": "睡眠",
"diaper": "尿布",
"medication": "药物",
"milestone": "里程碑",
"note": "备注",
"none": "无"
},
"diaperTypes": {
"wet": "湿",
"dirty": "脏",
"both": "两者",
"dry": "干",
"unknown": "未知"
}
}