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,99 +1,99 @@
{
"welcome": {
"title": "Welcome to Maternal",
"subtitle": "Your AI-powered child care assistant",
"description": "Track activities, get AI-powered insights, and coordinate with your family—all in one place.",
"getStarted": "Get Started",
"skip": "Skip"
"title": "欢迎来到Maternal",
"subtitle": "您的AI驱动儿童护理助手",
"description": "跟踪活动、获得AI驱动的洞察并与您的家人协调——一切尽在一处。",
"getStarted": "开始使用",
"skip": "跳过"
},
"language": {
"title": "Choose Your Language",
"subtitle": "Select your preferred language",
"description": "You can change this later in settings"
"title": "选择您的语言",
"subtitle": "选择您的首选语言",
"description": "您可以稍后在设置中更改"
},
"measurements": {
"title": "Measurement Units",
"subtitle": "Choose your preferred unit system",
"description": "Select the measurement system you're most comfortable with. You can change this later in settings.",
"title": "测量单位",
"subtitle": "选择您的首选单位系统",
"description": "选择您最熟悉的测量系统。您可以稍后在设置中更改。",
"metric": {
"title": "Metric",
"description": "Kilograms, centimeters, Celsius, milliliters"
"title": "公制",
"description": "千克、厘米、摄氏度、毫升"
},
"imperial": {
"title": "Imperial",
"description": "Pounds, inches, Fahrenheit, ounces"
"title": "英制",
"description": "磅、英寸、华氏度、盎司"
}
},
"profile": {
"title": "Create Your Profile",
"subtitle": "Tell us about yourself",
"name": "Your Name",
"email": "Email Address",
"password": "Password",
"confirmPassword": "Confirm Password",
"relation": "Relation to Child",
"title": "创建您的档案",
"subtitle": "告诉我们关于您的信息",
"name": "您的姓名",
"email": "邮箱地址",
"password": "密码",
"confirmPassword": "确认密码",
"relation": "与孩子的关系",
"relations": {
"mother": "Mother",
"father": "Father",
"guardian": "Guardian",
"caregiver": "Caregiver",
"other": "Other"
"mother": "母亲",
"father": "父亲",
"guardian": "监护人",
"caregiver": "照顾者",
"other": "其他"
}
},
"child": {
"title": "Add Your Child",
"subtitle": "Let's start with your first child",
"name": "Child's Name",
"dateOfBirth": "Date of Birth",
"gender": "Gender",
"title": "添加您的孩子",
"subtitle": "让我们从您的第一个孩子开始",
"name": "孩子的姓名",
"dateOfBirth": "出生日期",
"gender": "性别",
"genders": {
"male": "Male",
"female": "Female",
"other": "Other",
"preferNotToSay": "Prefer not to say"
"male": "",
"female": "",
"other": "其他",
"preferNotToSay": "不愿透露"
},
"weight": "Current Weight",
"height": "Current Height",
"addAnother": "Add Another Child",
"skipForNow": "Skip for Now"
"weight": "当前体重",
"height": "当前身高",
"addAnother": "添加另一个孩子",
"skipForNow": "暂时跳过"
},
"family": {
"title": "Invite Family Members",
"subtitle": "Coordinate with your family",
"description": "Invite family members to view and track activities together. They'll receive an email invitation.",
"email": "Family Member's Email",
"role": "Role",
"title": "邀请家庭成员",
"subtitle": "与您的家人协调",
"description": "邀请家庭成员一起查看和跟踪活动。他们将收到邮件邀请。",
"email": "家庭成员的邮箱",
"role": "角色",
"roles": {
"parent": "Parent",
"caregiver": "Caregiver",
"viewer": "Viewer"
"parent": "父母",
"caregiver": "照顾者",
"viewer": "查看者"
},
"addMember": "Add Member",
"inviteLater": "I'll Invite Later"
"addMember": "添加成员",
"inviteLater": "稍后邀请"
},
"notifications": {
"title": "Enable Notifications",
"subtitle": "Stay informed",
"description": "Get reminders for feedings, sleep times, and important milestones.",
"push": "Push Notifications",
"email": "Email Notifications",
"enable": "Enable Notifications",
"skipForNow": "Skip for Now"
"title": "启用通知",
"subtitle": "保持了解",
"description": "获取喂养、睡眠时间和重要里程碑的提醒。",
"push": "推送通知",
"email": "邮件通知",
"enable": "启用通知",
"skipForNow": "暂时跳过"
},
"complete": {
"title": "All Set!",
"subtitle": "You're ready to start tracking",
"description": "Start tracking your child's activities and get personalized AI-powered insights.",
"startTracking": "Start Tracking",
"exploreDashboard": "Explore Dashboard"
"title": "全部设置完成!",
"subtitle": "您已准备好开始跟踪",
"description": "开始跟踪您孩子的活动并获得个性化的AI驱动洞察。",
"startTracking": "开始跟踪",
"exploreDashboard": "探索仪表板"
},
"navigation": {
"next": "Next",
"back": "Back",
"skip": "Skip",
"finish": "Finish"
"next": "下一步",
"back": "返回",
"skip": "跳过",
"finish": "完成"
},
"progress": {
"step": "Step {{current}} of {{total}}"
"step": "{{current}}步,共{{total}}"
}
}
}