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,69 +1,69 @@
{
"general": {
"unknown": "An unknown error occurred",
"networkError": "Network error. Please check your connection.",
"serverError": "Server error. Please try again later.",
"notFound": "The requested resource was not found",
"unauthorized": "You are not authorized to perform this action",
"forbidden": "Access denied",
"validation": "Please check your input and try again",
"timeout": "Request timed out. Please try again."
"unknown": "Ocurrió un error desconocido",
"networkError": "Error de red. Por favor verifica tu conexión.",
"serverError": "Error del servidor. Por favor intenta más tarde.",
"notFound": "No se encontró el recurso solicitado",
"unauthorized": "No estás autorizado para realizar esta acción",
"forbidden": "Acceso denegado",
"validation": "Por favor verifica tu entrada e intenta de nuevo",
"timeout": "Se agotó el tiempo de espera. Por favor intenta de nuevo."
},
"auth": {
"invalidCredentials": "Invalid email or password",
"emailExists": "An account with this email already exists",
"emailNotVerified": "Please verify your email address",
"accountLocked": "Your account has been locked. Please contact support.",
"sessionExpired": "Your session has expired. Please sign in again.",
"weakPassword": "Password is too weak",
"tokenInvalid": "Invalid or expired token",
"deviceNotTrusted": "Device not trusted. Please verify your device."
"invalidCredentials": "Correo o contraseña inválidos",
"emailExists": "Ya existe una cuenta con este correo",
"emailNotVerified": "Por favor verifica tu dirección de correo",
"accountLocked": "Tu cuenta ha sido bloqueada. Por favor contacta soporte.",
"sessionExpired": "Tu sesn ha expirado. Por favor inicia sesión de nuevo.",
"weakPassword": "La contraseña es muy débil",
"tokenInvalid": "Token inválido o expirado",
"deviceNotTrusted": "Dispositivo no confiable. Por favor verifica tu dispositivo."
},
"family": {
"limitExceeded": "Family size limit exceeded",
"memberNotFound": "Family member not found",
"cannotRemoveSelf": "You cannot remove yourself from the family",
"insufficientPermissions": "You don't have permission to perform this action",
"invitationExpired": "This invitation has expired",
"alreadyMember": "This person is already a family member"
"limitExceeded": "Límite de tamaño de familia excedido",
"memberNotFound": "Miembro de familia no encontrado",
"cannotRemoveSelf": "No puedes eliminarte a ti mismo de la familia",
"insufficientPermissions": "No tienes permisos para realizar esta acción",
"invitationExpired": "Esta invitación ha expirado",
"alreadyMember": "Esta persona ya es miembro de la familia"
},
"child": {
"notFound": "Child profile not found",
"invalidAge": "Invalid age. Please check the date of birth.",
"limitExceeded": "You've reached the maximum number of children"
"notFound": "Perfil del niño no encontrado",
"invalidAge": "Edad inválida. Por favor verifica la fecha de nacimiento.",
"limitExceeded": "Has alcanzado el número máximo de niños"
},
"tracking": {
"invalidData": "Invalid tracking data",
"futureDate": "You cannot log activities in the future",
"duplicateEntry": "A similar entry already exists",
"invalidDuration": "Invalid duration",
"invalidAmount": "Invalid amount"
"invalidData": "Datos de seguimiento inválidos",
"futureDate": "No puedes registrar actividades en el futuro",
"duplicateEntry": "Ya existe una entrada similar",
"invalidDuration": "Duración inválida",
"invalidAmount": "Cantidad inválida"
},
"ai": {
"dailyLimitReached": "Daily AI question limit reached",
"contextError": "Failed to load context for AI",
"responseError": "Failed to generate AI response",
"moderationFlag": "Your message was flagged by our content moderation system"
"dailyLimitReached": "Límite diario de preguntas IA alcanzado",
"contextError": "Error al cargar contexto para IA",
"responseError": "Error al generar respuesta IA",
"moderationFlag": "Tu mensaje fue marcado por nuestro sistema de moderación de contenido"
},
"offline": {
"noConnection": "No internet connection",
"syncFailed": "Failed to sync data",
"pendingChanges": "You have pending changes that need to be synced"
"noConnection": "Sin conexión a internet",
"syncFailed": "Error al sincronizar datos",
"pendingChanges": "Tienes cambios pendientes que necesitan sincronizarse"
},
"validation": {
"required": "This field is required",
"invalidEmail": "Please enter a valid email address",
"invalidPhone": "Please enter a valid phone number",
"invalidDate": "Please enter a valid date",
"minLength": "Must be at least {{min}} characters",
"maxLength": "Must be no more than {{max}} characters",
"minValue": "Must be at least {{min}}",
"maxValue": "Must be no more than {{max}}",
"invalidFormat": "Invalid format",
"passwordMismatch": "Passwords do not match"
"required": "Este campo es requerido",
"invalidEmail": "Por favor ingresa una dirección de correo válida",
"invalidPhone": "Por favor ingresa un número de teléfono válido",
"invalidDate": "Por favor ingresa una fecha válida",
"minLength": "Debe tener al menos {{min}} caracteres",
"maxLength": "No debe tener más de {{max}} caracteres",
"minValue": "Debe ser al menos {{min}}",
"maxValue": "No debe ser más de {{max}}",
"invalidFormat": "Formato inválido",
"passwordMismatch": "Las contraseñas no coinciden"
},
"retry": "Retry",
"goBack": "Go Back",
"contactSupport": "Contact Support",
"dismiss": "Dismiss"
}
"retry": "Reintentar",
"goBack": "Volver",
"contactSupport": "Contactar Soporte",
"dismiss": "Descartar"
}