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,88 +1,88 @@
{
"login": {
"title": "Welcome Back",
"subtitle": "Sign in to your account",
"email": "Email",
"password": "Password",
"rememberMe": "Remember me",
"forgotPassword": "Forgot password?",
"submit": "Sign In",
"noAccount": "Don't have an account?",
"signUp": "Sign up",
"or": "Or",
"continueWithGoogle": "Continue with Google",
"continueWithApple": "Continue with Apple",
"title": "欢迎回来",
"subtitle": "登录您的账户",
"email": "邮箱",
"password": "密码",
"rememberMe": "记住我",
"forgotPassword": "忘记密码?",
"submit": "登录",
"noAccount": "还没有账户?",
"signUp": "注册",
"or": "",
"continueWithGoogle": "使用Google继续",
"continueWithApple": "使用Apple继续",
"biometric": {
"useFaceId": "Use Face ID",
"useTouchId": "Use Touch ID",
"useFingerprint": "Use Fingerprint"
"useFaceId": "使用面容ID",
"useTouchId": "使用触控ID",
"useFingerprint": "使用指纹"
}
},
"signup": {
"title": "Create Account",
"subtitle": "Join Maternal today",
"name": "Full Name",
"email": "Email",
"password": "Password",
"confirmPassword": "Confirm Password",
"agreeToTerms": "I agree to the {{termsLink}} and {{privacyLink}}",
"termsOfService": "Terms of Service",
"privacyPolicy": "Privacy Policy",
"submit": "Create Account",
"hasAccount": "Already have an account?",
"signIn": "Sign in",
"or": "Or",
"continueWithGoogle": "Continue with Google",
"continueWithApple": "Continue with Apple"
"title": "创建账户",
"subtitle": "立即加入Maternal",
"name": "全名",
"email": "邮箱",
"password": "密码",
"confirmPassword": "确认密码",
"agreeToTerms": "我同意{{termsLink}}{{privacyLink}}",
"termsOfService": "服务条款",
"privacyPolicy": "隐私政策",
"submit": "创建账户",
"hasAccount": "已有账户?",
"signIn": "登录",
"or": "",
"continueWithGoogle": "使用Google继续",
"continueWithApple": "使用Apple继续"
},
"forgotPassword": {
"title": "Reset Password",
"subtitle": "Enter your email to receive a reset link",
"email": "Email",
"submit": "Send Reset Link",
"backToLogin": "Back to login",
"success": "Reset link sent! Check your email.",
"checkEmail": "We've sent a password reset link to {{email}}"
"title": "重置密码",
"subtitle": "输入您的邮箱以接收重置链接",
"email": "邮箱",
"submit": "发送重置链接",
"backToLogin": "返回登录",
"success": "重置链接已发送!请检查您的邮箱。",
"checkEmail": "我们已向{{email}}发送了密码重置链接"
},
"resetPassword": {
"title": "Create New Password",
"subtitle": "Enter your new password",
"password": "New Password",
"confirmPassword": "Confirm Password",
"submit": "Reset Password",
"success": "Password reset successfully!",
"backToLogin": "Back to login"
"title": "创建新密码",
"subtitle": "输入您的新密码",
"password": "新密码",
"confirmPassword": "确认密码",
"submit": "重置密码",
"success": "密码重置成功!",
"backToLogin": "返回登录"
},
"verification": {
"title": "Verify Your Email",
"subtitle": "We've sent a verification code to {{email}}",
"code": "Verification Code",
"submit": "Verify",
"resend": "Resend Code",
"resendIn": "Resend in {{seconds}}s",
"success": "Email verified successfully!",
"didNotReceive": "Didn't receive the code?"
"title": "验证您的邮箱",
"subtitle": "我们已向{{email}}发送了验证码",
"code": "验证码",
"submit": "验证",
"resend": "重新发送验证码",
"resendIn": "{{seconds}}秒后重新发送",
"success": "邮箱验证成功!",
"didNotReceive": "没有收到验证码?"
},
"errors": {
"invalidEmail": "Please enter a valid email address",
"invalidPassword": "Password must be at least 8 characters",
"passwordMismatch": "Passwords do not match",
"emailRequired": "Email is required",
"passwordRequired": "Password is required",
"nameRequired": "Name is required",
"termsRequired": "You must agree to the terms and privacy policy",
"invalidCredentials": "Invalid email or password",
"emailExists": "An account with this email already exists",
"weakPassword": "Password is too weak. Please use a stronger password.",
"networkError": "Network error. Please try again.",
"unknownError": "An error occurred. Please try again."
"invalidEmail": "请输入有效的邮箱地址",
"invalidPassword": "密码必须至少8个字符",
"passwordMismatch": "密码不匹配",
"emailRequired": "邮箱是必需的",
"passwordRequired": "密码是必需的",
"nameRequired": "姓名是必需的",
"termsRequired": "您必须同意条款和隐私政策",
"invalidCredentials": "邮箱或密码无效",
"emailExists": "此邮箱已存在账户",
"weakPassword": "密码太弱。请使用更强的密码。",
"networkError": "网络错误。请重试。",
"unknownError": "发生错误。请重试。"
},
"passwordRequirements": {
"title": "Password must contain:",
"minLength": "At least 8 characters",
"uppercase": "At least one uppercase letter",
"lowercase": "At least one lowercase letter",
"number": "At least one number",
"special": "At least one special character"
"title": "密码必须包含:",
"minLength": "至少8个字符",
"uppercase": "至少一个大写字母",
"lowercase": "至少一个小写字母",
"number": "至少一个数字",
"special": "至少一个特殊字符"
}
}
}