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,108 +1,147 @@
{
"title": "Settings",
"title": "设置",
"account": {
"title": "Account",
"profile": "Profile",
"email": "Email",
"password": "Password",
"changePassword": "Change Password",
"deleteAccount": "Delete Account",
"confirmDelete": "Are you sure you want to delete your account? This action cannot be undone."
"title": "账户",
"profile": "个人资料",
"email": "邮箱",
"password": "密码",
"changePassword": "更改密码",
"deleteAccount": "删除账户",
"confirmDelete": "您确定要删除您的账户吗?此操作无法撤销。"
},
"preferences": {
"title": "Preferences",
"language": "Language",
"measurementUnits": "Measurement Units",
"metric": "Metric (kg, cm, °C, ml)",
"imperial": "Imperial (lb, in, °F, oz)",
"dateFormat": "Date Format",
"timeFormat": "Time Format",
"12hour": "12-hour",
"24hour": "24-hour",
"theme": "Theme",
"light": "Light",
"dark": "Dark",
"auto": "Auto (System)"
"title": "偏好设置",
"language": "语言",
"measurementUnits": "测量单位",
"metric": "公制 (kg, cm, °C, ml)",
"imperial": "英制 (lb, in, °F, oz)",
"timezone": "时区",
"autoDetectTimezone": "自动检测",
"timezoneUpdated": "时区更新成功",
"timezoneAutoDetected": "自动检测时区",
"dateFormat": "日期格式",
"timeFormat": "时间格式",
"12hour": "12小时制",
"24hour": "24小时制",
"timeFormatUpdated": "时间格式更新成功",
"theme": "主题",
"light": "浅色",
"dark": "深色",
"auto": "自动(系统)"
},
"notifications": {
"title": "Notifications",
"push": "Push Notifications",
"email": "Email Notifications",
"feedingReminders": "Feeding Reminders",
"sleepReminders": "Sleep Reminders",
"milestoneAlerts": "Milestone Alerts",
"familyUpdates": "Family Updates",
"aiSuggestions": "AI Suggestions"
"title": "通知",
"push": "推送通知",
"email": "邮件通知",
"feedingReminders": "喂养提醒",
"sleepReminders": "睡眠提醒",
"milestoneAlerts": "里程碑提醒",
"familyUpdates": "家庭更新",
"aiSuggestions": "AI建议"
},
"privacy": {
"title": "Privacy & Security",
"dataSharing": "Data Sharing",
"familyAccess": "Family Access",
"biometric": "Biometric Authentication",
"enableFaceId": "Enable Face ID",
"enableTouchId": "Enable Touch ID",
"enableFingerprint": "Enable Fingerprint",
"dataExport": "Export Data",
"downloadData": "Download Your Data"
"title": "隐私与安全",
"dataSharing": "数据共享",
"familyAccess": "家庭访问",
"biometric": "生物识别认证",
"enableFaceId": "启用面容ID",
"enableTouchId": "启用触控ID",
"enableFingerprint": "启用指纹",
"dataExport": "导出数据",
"downloadData": "下载您的数据"
},
"family": {
"title": "Family",
"members": "Family Members",
"inviteMember": "Invite Member",
"removeMember": "Remove Member",
"permissions": "Permissions",
"role": "Role",
"title": "家庭",
"members": "家庭成员",
"inviteMember": "邀请成员",
"removeMember": "移除成员",
"permissions": "权限",
"role": "角色",
"roles": {
"admin": "Admin",
"parent": "Parent",
"caregiver": "Caregiver",
"viewer": "Viewer"
"admin": "管理员",
"parent": "父母",
"caregiver": "照顾者",
"viewer": "查看者"
}
},
"children": {
"title": "Children",
"addChild": "Add Child",
"editChild": "Edit Child",
"removeChild": "Remove Child",
"name": "Name",
"dateOfBirth": "Date of Birth",
"gender": "Gender",
"title": "孩子",
"addChild": "添加孩子",
"editChild": "编辑孩子",
"removeChild": "移除孩子",
"name": "姓名",
"dateOfBirth": "出生日期",
"gender": "性别",
"genders": {
"male": "Male",
"female": "Female",
"other": "Other",
"preferNotToSay": "Prefer not to say"
"male": "",
"female": "",
"other": "其他",
"preferNotToSay": "不愿透露"
}
},
"subscription": {
"title": "Subscription",
"plan": "Current Plan",
"free": "Free",
"premium": "Premium",
"upgradeToPremium": "Upgrade to Premium",
"manageBilling": "Manage Billing",
"cancelSubscription": "Cancel Subscription",
"renewalDate": "Renewal Date",
"title": "订阅",
"plan": "当前计划",
"free": "免费",
"premium": "高级版",
"upgradeToPremium": "升级到高级版",
"manageBilling": "管理账单",
"cancelSubscription": "取消订阅",
"renewalDate": "续费日期",
"features": {
"unlimitedAi": "Unlimited AI questions",
"familySync": "Family sync",
"advancedAnalytics": "Advanced analytics",
"exportReports": "Export reports",
"prioritySupport": "Priority support"
"unlimitedAi": "无限AI问题",
"familySync": "家庭同步",
"advancedAnalytics": "高级分析",
"exportReports": "导出报告",
"prioritySupport": "优先支持"
}
},
"about": {
"title": "About",
"version": "Version",
"termsOfService": "Terms of Service",
"privacyPolicy": "Privacy Policy",
"helpCenter": "Help Center",
"contactSupport": "Contact Support",
"rateApp": "Rate App",
"shareApp": "Share App"
"title": "关于",
"version": "版本",
"termsOfService": "服务条款",
"privacyPolicy": "隐私政策",
"helpCenter": "帮助中心",
"contactSupport": "联系支持",
"rateApp": "评价应用",
"shareApp": "分享应用"
},
"save": "Save Changes",
"saved": "Settings saved successfully",
"cancel": "Cancel",
"reset": "Reset to Default"
}
"profile": {
"title": "个人资料信息",
"name": "姓名",
"nameRequired": "姓名不能为空",
"email": "邮箱",
"emailNotEditable": "邮箱无法更改"
},
"appearance": {
"title": "外观",
"darkMode": "深色模式(即将推出)"
},
"security": {
"title": "安全"
},
"sessions": {
"title": "会话"
},
"deviceTrust": {
"title": "设备信任"
},
"biometric": {
"title": "生物识别认证"
},
"dataExport": {
"title": "数据导出"
},
"accountDeletion": {
"title": "账户删除"
},
"accountActions": {
"title": "账户操作",
"logout": "退出登录"
},
"save": "保存偏好设置",
"saving": "保存中...",
"saved": "设置保存成功!",
"cancel": "取消",
"reset": "重置为默认"
}