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,62 +1,107 @@
{
"title": "AI Assistant",
"subtitle": "24/7 Parenting Support",
"title": "AI助手",
"subtitle": "24/7育儿支持",
"chat": {
"placeholder": "Ask me anything about parenting...",
"send": "Send",
"listening": "Listening...",
"processing": "Processing...",
"thinking": "Thinking...",
"typing": "AI is typing...",
"voiceInput": "Voice Input",
"textInput": "Text Input",
"newChat": "New Chat",
"clearChat": "Clear Chat",
"confirmClear": "Are you sure you want to clear this chat?",
"noMessages": "No messages yet",
"startConversation": "Start a conversation with your AI assistant"
"placeholder": "询问任何关于育儿的问题...",
"send": "发送",
"listening": "聆听中...",
"processing": "处理中...",
"thinking": "思考中...",
"typing": "AI正在输入...",
"voiceInput": "语音输入",
"textInput": "文本输入",
"newChat": "新对话",
"clearChat": "清除对话",
"confirmClear": "您确定要清除此对话吗?",
"noMessages": "还没有消息",
"startConversation": "开始与您的AI助手对话"
},
"suggestions": {
"title": "Suggested Questions",
"sleepPattern": "How can I improve my baby's sleep pattern?",
"feeding": "How much should my baby be eating?",
"development": "What milestones should I expect this month?",
"health": "When should I be concerned about a fever?"
"title": "建议问题",
"sleepPattern": "如何改善宝宝的睡眠模式?",
"feeding": "我的宝宝应该吃多少?",
"development": "这个月我应该期待什么里程碑?",
"health": "什么时候应该担心发烧?"
},
"context": {
"analyzing": "Analyzing your child's patterns...",
"usingRecent": "Using recent activity data",
"basedOn": "Based on {{childName}}'s profile"
"analyzing": "分析您孩子的模式...",
"usingRecent": "使用最近的活动数据",
"basedOn": "基于{{childName}}的档案"
},
"disclaimer": {
"title": "Important Disclaimer",
"message": "This AI assistant provides general parenting guidance and is not a substitute for professional medical advice. Always consult with your pediatrician for medical concerns.",
"emergency": "In case of emergency, call emergency services immediately.",
"understand": "I Understand"
"title": "重要免责声明",
"message": "此AI助手提供一般育儿指导不能替代专业医疗建议。对于医疗问题请始终咨询您的儿科医生。",
"emergency": "紧急情况下,请立即拨打急救电话。",
"understand": "我理解"
},
"limits": {
"dailyLimit": "Daily question limit reached",
"dailyLimitMessage": "You've reached your daily limit of {{limit}} questions. Upgrade to premium for unlimited access.",
"upgrade": "Upgrade to Premium"
"dailyLimit": "已达到每日问题限制",
"dailyLimitMessage": "您已达到每日{{limit}}个问题的限制。升级到高级版可无限访问。",
"upgrade": "升级到高级版"
},
"history": {
"title": "Chat History",
"today": "Today",
"yesterday": "Yesterday",
"thisWeek": "This Week",
"older": "Older",
"noHistory": "No chat history",
"delete": "Delete Chat",
"confirmDelete": "Are you sure you want to delete this chat?"
"title": "聊天历史",
"today": "今天",
"yesterday": "昨天",
"thisWeek": "本周",
"older": "更早",
"noHistory": "无聊天历史",
"delete": "删除聊天",
"confirmDelete": "您确定要删除此聊天吗?"
},
"topics": {
"sleep": "Sleep",
"feeding": "Feeding",
"development": "Development",
"health": "Health",
"behavior": "Behavior",
"safety": "Safety",
"nutrition": "Nutrition",
"general": "General"
"sleep": "睡眠",
"feeding": "喂养",
"development": "发育",
"health": "健康",
"behavior": "行为",
"safety": "安全",
"nutrition": "营养",
"general": "一般"
},
"interface": {
"assistantTitle": "AI育儿助手",
"assistantSubtitle": "询问任何关于育儿和儿童护理的问题",
"greeting": "您好{{name}}!今天我能为您做些什么?",
"inputPlaceholder": "询问任何问题...",
"closeDrawer": "关闭抽屉",
"moreOptions": "更多选项",
"deleteConversation": "删除对话",
"chatCount": "{{count}}个聊天",
"chatCount_plural": "{{count}}个聊天",
"ungrouped": "未分组",
"errorMessage": "抱歉,我遇到了错误。请重试。",
"disclaimerFooter": "此AI助手提供一般信息。医疗建议请咨询医疗专业人士。",
"deleteDialogTitle": "删除对话",
"deleteDialogMessage": "您确定要删除此对话吗?此操作无法撤销。",
"cancel": "取消",
"delete": "删除",
"moveToGroup": "移动到组",
"createNewGroup": "创建新组",
"groupNameLabel": "组名",
"create": "创建",
"suggestedQuestion1": "3个月大的宝宝应该睡多久",
"suggestedQuestion2": "正常的喂养模式是什么?",
"suggestedQuestion3": "什么时候应该引入固体食物?",
"suggestedQuestion4": "改善睡眠习惯的技巧",
"thinking1": "收集宝宝智慧...",
"thinking2": "查阅育儿书籍...",
"thinking3": "调配完美答案...",
"thinking4": "温暖一些建议...",
"thinking5": "准备您的知识奶瓶...",
"thinking6": "数着小手指和小脚趾...",
"thinking7": "连接积木...",
"thinking8": "偷看玩具盒...",
"thinking9": "整理拼图碎片...",
"thinking10": "搅拌婴儿食品罐...",
"thinking11": "擦亮智慧奶嘴...",
"thinking12": "蹑手蹑脚穿过午睡时间...",
"thinking13": "整理尿布包...",
"thinking14": "用爱包装您的答案...",
"thinking15": "冲泡一杯温暖的指导...",
"thinking16": "编织一些想法...",
"thinking17": "整理细节...",
"thinking18": "撒一些魔法粉...",
"thinking19": "在思考时哼着摇篮曲..."
}
}
}