feat: Complete Spanish, French, Portuguese, Chinese localization and add German/Italian support
- 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:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"title": "活动追踪",
|
||||
"trackActivity": "记录活动",
|
||||
"selectActivity": "选择要追踪的活动",
|
||||
"title": "活动跟踪",
|
||||
"trackActivity": "跟踪活动",
|
||||
"selectActivity": "选择要跟踪的活动",
|
||||
"activities": {
|
||||
"feeding": "喂养",
|
||||
"sleep": "睡眠",
|
||||
@@ -10,128 +10,270 @@
|
||||
"activity": "活动"
|
||||
},
|
||||
"feeding": {
|
||||
"title": "Feeding",
|
||||
"addFeeding": "Add Feeding",
|
||||
"type": "Feeding Type",
|
||||
"title": "喂养",
|
||||
"addFeeding": "添加喂养",
|
||||
"type": "喂养类型",
|
||||
"types": {
|
||||
"breast": "Breast",
|
||||
"bottle": "Bottle",
|
||||
"solid": "Solid Food"
|
||||
"breast": "母乳",
|
||||
"bottle": "奶瓶",
|
||||
"solid": "固体食物"
|
||||
},
|
||||
"side": "Side",
|
||||
"side": "侧面",
|
||||
"sides": {
|
||||
"left": "Left",
|
||||
"right": "Right",
|
||||
"both": "Both"
|
||||
"left": "左侧",
|
||||
"right": "右侧",
|
||||
"both": "两侧"
|
||||
},
|
||||
"amount": "Amount",
|
||||
"duration": "Duration",
|
||||
"startTime": "Start Time",
|
||||
"endTime": "End Time",
|
||||
"notes": "Notes",
|
||||
"amount": "数量",
|
||||
"duration": "持续时间",
|
||||
"startTime": "开始计时",
|
||||
"endTime": "停止计时",
|
||||
"reset": "重置",
|
||||
"notes": "备注",
|
||||
"bottleType": "奶瓶类型",
|
||||
"bottleTypes": {
|
||||
"formula": "配方奶",
|
||||
"breastmilk": "母乳",
|
||||
"other": "其他"
|
||||
},
|
||||
"foodDescription": "食物描述",
|
||||
"amountDescription": "数量描述",
|
||||
"placeholders": {
|
||||
"amount": "Enter amount",
|
||||
"notes": "Add any notes about this feeding..."
|
||||
"amount": "输入数量",
|
||||
"notes": "添加关于此次喂养的备注...",
|
||||
"duration": "或手动输入持续时间",
|
||||
"foodDescription": "例如:米糊、香蕉泥",
|
||||
"amountDescription": "例如:1/4杯、2勺"
|
||||
},
|
||||
"units": {
|
||||
"ml": "ml",
|
||||
"oz": "oz",
|
||||
"minutes": "minutes"
|
||||
"ml": "毫升",
|
||||
"oz": "盎司",
|
||||
"minutes": "分钟"
|
||||
},
|
||||
"validation": {
|
||||
"durationRequired": "请输入持续时间或使用计时器",
|
||||
"amountRequired": "请输入数量",
|
||||
"foodRequired": "请输入食物描述"
|
||||
},
|
||||
"success": "喂养记录成功!",
|
||||
"deleted": "喂养记录删除成功",
|
||||
"recentFeedings": "最近喂养",
|
||||
"error": {
|
||||
"saveFailed": "保存喂养记录失败",
|
||||
"deleteFailed": "删除喂养记录失败"
|
||||
}
|
||||
},
|
||||
"sleep": {
|
||||
"title": "Sleep",
|
||||
"addSleep": "Add Sleep",
|
||||
"startTime": "Sleep Start",
|
||||
"endTime": "Sleep End",
|
||||
"duration": "Duration",
|
||||
"quality": "Quality",
|
||||
"title": "睡眠",
|
||||
"addSleep": "添加睡眠",
|
||||
"logSleep": "记录睡眠",
|
||||
"startTime": "睡眠开始",
|
||||
"endTime": "睡眠结束",
|
||||
"duration": "持续时间",
|
||||
"quality": "质量",
|
||||
"qualities": {
|
||||
"poor": "Poor",
|
||||
"fair": "Fair",
|
||||
"good": "Good",
|
||||
"excellent": "Excellent"
|
||||
"poor": "差",
|
||||
"fair": "一般",
|
||||
"good": "好",
|
||||
"excellent": "优秀"
|
||||
},
|
||||
"notes": "Notes",
|
||||
"location": "位置",
|
||||
"locations": {
|
||||
"crib": "婴儿床",
|
||||
"bed": "床",
|
||||
"stroller": "婴儿车",
|
||||
"carrier": "背带",
|
||||
"other": "其他"
|
||||
},
|
||||
"status": {
|
||||
"title": "睡眠状态",
|
||||
"completed": "已完成(有结束时间)",
|
||||
"ongoing": "进行中(仍在睡觉)"
|
||||
},
|
||||
"now": "现在",
|
||||
"notes": "备注",
|
||||
"placeholders": {
|
||||
"notes": "Add any notes about this sleep session..."
|
||||
}
|
||||
"notes": "添加关于此次睡眠的备注..."
|
||||
},
|
||||
"recentSleeps": "最近睡眠",
|
||||
"success": "睡眠记录成功!",
|
||||
"deleted": "睡眠记录删除成功",
|
||||
"ongoing_duration": "进行中 - {{duration}}"
|
||||
},
|
||||
"diaper": {
|
||||
"title": "Diaper",
|
||||
"addDiaper": "Add Diaper Change",
|
||||
"type": "Type",
|
||||
"title": "尿布",
|
||||
"addDiaper": "添加换尿布",
|
||||
"logDiaper": "记录换尿布",
|
||||
"type": "类型",
|
||||
"types": {
|
||||
"wet": "Wet",
|
||||
"dirty": "Dirty",
|
||||
"both": "Both",
|
||||
"dry": "Dry"
|
||||
"wet": "湿",
|
||||
"dirty": "脏",
|
||||
"both": "两者",
|
||||
"dry": "干"
|
||||
},
|
||||
"time": "Time",
|
||||
"notes": "Notes",
|
||||
"time": "时间",
|
||||
"now": "现在",
|
||||
"conditions": {
|
||||
"title": "状况",
|
||||
"normal": "正常",
|
||||
"soft": "软",
|
||||
"hard": "硬",
|
||||
"watery": "水样",
|
||||
"mucus": "粘液",
|
||||
"blood": "血液"
|
||||
},
|
||||
"rash": {
|
||||
"title": "有红疹",
|
||||
"yes": "是",
|
||||
"no": "否",
|
||||
"severity": "红疹严重程度",
|
||||
"alert": "检测到尿布疹。考虑涂抹尿布疹膏,如果持续请咨询您的儿科医生。",
|
||||
"severities": {
|
||||
"mild": "轻微",
|
||||
"moderate": "中等",
|
||||
"severe": "严重"
|
||||
}
|
||||
},
|
||||
"notes": "备注",
|
||||
"placeholders": {
|
||||
"notes": "Add any notes about this diaper change..."
|
||||
}
|
||||
"notes": "添加关于此次换尿布的备注..."
|
||||
},
|
||||
"recentDiapers": "最近换尿布",
|
||||
"success": "换尿布记录成功!",
|
||||
"deleted": "换尿布记录删除成功"
|
||||
},
|
||||
"milestone": {
|
||||
"title": "Milestone",
|
||||
"addMilestone": "Add Milestone",
|
||||
"category": "Category",
|
||||
"title": "里程碑",
|
||||
"addMilestone": "添加里程碑",
|
||||
"category": "类别",
|
||||
"categories": {
|
||||
"physical": "Physical",
|
||||
"cognitive": "Cognitive",
|
||||
"social": "Social",
|
||||
"language": "Language"
|
||||
"physical": "身体",
|
||||
"cognitive": "认知",
|
||||
"social": "社交",
|
||||
"language": "语言"
|
||||
},
|
||||
"description": "Description",
|
||||
"date": "Date",
|
||||
"notes": "Notes",
|
||||
"description": "描述",
|
||||
"date": "日期",
|
||||
"notes": "备注",
|
||||
"placeholders": {
|
||||
"description": "Describe the milestone...",
|
||||
"notes": "Add any additional notes..."
|
||||
"description": "描述里程碑...",
|
||||
"notes": "添加任何额外备注..."
|
||||
}
|
||||
},
|
||||
"health": {
|
||||
"title": "Health",
|
||||
"addHealth": "Add Health Record",
|
||||
"type": "Type",
|
||||
"title": "健康",
|
||||
"addHealth": "添加健康记录",
|
||||
"type": "类型",
|
||||
"types": {
|
||||
"temperature": "Temperature",
|
||||
"medication": "Medication",
|
||||
"symptom": "Symptom",
|
||||
"doctor": "Doctor Visit"
|
||||
"temperature": "体温",
|
||||
"medication": "药物",
|
||||
"symptom": "症状",
|
||||
"doctor": "医生就诊"
|
||||
},
|
||||
"temperature": "Temperature",
|
||||
"medication": "Medication",
|
||||
"dosage": "Dosage",
|
||||
"symptom": "Symptom",
|
||||
"severity": "Severity",
|
||||
"temperature": "体温",
|
||||
"medication": "药物",
|
||||
"medicineInfo": "药物信息",
|
||||
"medicineName": {
|
||||
"label": "药物名称",
|
||||
"placeholder": "例如:对乙酰氨基酚、布洛芬",
|
||||
"required": "请输入药物名称"
|
||||
},
|
||||
"dosage": {
|
||||
"label": "剂量",
|
||||
"placeholder": "例如:5、2.5",
|
||||
"required": "请输入剂量"
|
||||
},
|
||||
"unit": "单位",
|
||||
"route": {
|
||||
"label": "给药途径",
|
||||
"oral": "口服",
|
||||
"topical": "外用",
|
||||
"injection": "注射",
|
||||
"other": "其他"
|
||||
},
|
||||
"reason": {
|
||||
"label": "原因(可选)",
|
||||
"placeholder": "例如:发烧、疼痛、过敏"
|
||||
},
|
||||
"logMedicine": "记录药物",
|
||||
"recentMedicines": "最近药物",
|
||||
"success": "药物记录成功!",
|
||||
"error": "保存药物失败",
|
||||
"deleted": "药物记录删除成功",
|
||||
"deleteError": "删除药物失败",
|
||||
"symptom": "症状",
|
||||
"severity": "严重程度",
|
||||
"severities": {
|
||||
"mild": "Mild",
|
||||
"moderate": "Moderate",
|
||||
"severe": "Severe"
|
||||
"mild": "轻微",
|
||||
"moderate": "中等",
|
||||
"severe": "严重"
|
||||
},
|
||||
"notes": "Notes",
|
||||
"notes": "备注",
|
||||
"placeholders": {
|
||||
"medication": "Medication name",
|
||||
"dosage": "Dosage amount",
|
||||
"symptom": "Describe symptom",
|
||||
"notes": "Add any notes..."
|
||||
"medication": "药物名称",
|
||||
"dosage": "剂量数量",
|
||||
"symptom": "描述症状",
|
||||
"notes": "添加任何备注..."
|
||||
},
|
||||
"units": {
|
||||
"ml": "毫升",
|
||||
"mg": "毫克",
|
||||
"tsp": "茶匙",
|
||||
"tbsp": "汤匙",
|
||||
"drops": "滴",
|
||||
"tablet": "片",
|
||||
"celsius": "°C",
|
||||
"fahrenheit": "°F"
|
||||
}
|
||||
},
|
||||
"quickLog": "Quick Log",
|
||||
"viewHistory": "View History",
|
||||
"editEntry": "Edit Entry",
|
||||
"deleteEntry": "Delete Entry",
|
||||
"confirmDelete": "Are you sure you want to delete this entry?",
|
||||
"filterByType": "Filter by Type",
|
||||
"filterByChild": "Filter by Child",
|
||||
"sortByNewest": "Newest First",
|
||||
"sortByOldest": "Oldest First",
|
||||
"noEntries": "No entries yet",
|
||||
"addFirstEntry": "Add your first entry to start tracking"
|
||||
}
|
||||
"activity": {
|
||||
"title": "活动",
|
||||
"addActivity": "添加活动",
|
||||
"logActivity": "记录活动",
|
||||
"type": "活动类型",
|
||||
"types": {
|
||||
"play": "玩耍",
|
||||
"tummyTime": "趴着时间",
|
||||
"walk": "散步",
|
||||
"music": "音乐",
|
||||
"reading": "阅读",
|
||||
"outdoor": "户外玩耍",
|
||||
"other": "其他"
|
||||
},
|
||||
"duration": "持续时间(分钟)",
|
||||
"description": "描述",
|
||||
"notes": "备注",
|
||||
"placeholders": {
|
||||
"duration": "输入持续时间(分钟)",
|
||||
"description": "描述活动...",
|
||||
"notes": "添加任何备注..."
|
||||
},
|
||||
"recentActivities": "最近活动",
|
||||
"success": "活动记录成功!",
|
||||
"deleted": "活动记录删除成功"
|
||||
},
|
||||
"common": {
|
||||
"selectChild": "选择孩子",
|
||||
"cancel": "取消",
|
||||
"delete": "删除",
|
||||
"loading": "加载中...",
|
||||
"noChildrenAdded": "未添加孩子",
|
||||
"noChildrenMessage": "您需要先添加孩子才能跟踪活动",
|
||||
"addChild": "添加孩子",
|
||||
"recentActivities": "最近活动",
|
||||
"error": {
|
||||
"loadChildrenFailed": "加载孩子信息失败"
|
||||
}
|
||||
},
|
||||
"quickLog": "快速记录",
|
||||
"viewHistory": "查看历史",
|
||||
"editEntry": "编辑条目",
|
||||
"deleteEntry": "删除条目",
|
||||
"confirmDelete": "您确定要删除此条目吗?",
|
||||
"filterByType": "按类型筛选",
|
||||
"filterByChild": "按孩子筛选",
|
||||
"sortByNewest": "最新优先",
|
||||
"sortByOldest": "最旧优先",
|
||||
"noEntries": "还没有条目",
|
||||
"addFirstEntry": "添加您的第一个条目开始跟踪"
|
||||
}
|
||||
Reference in New Issue
Block a user