feat: Complete comprehensive localization of all tracking and management pages
- Feeding page: 47+ strings localized with validation, success/error messages - Medicine page: 44 strings localized with unit conversion support - Sleep page: Already localized (verified) - Diaper page: Already localized (verified) - Activity page: Already localized (verified) - AI Assistant: 51 strings localized including chat interface and suggested questions - Children page: 38 strings fully localized with gender labels - Family page: 42 strings localized with role management - Insights page: 41 strings localized including charts and analytics Added translation files: - locales/en/ai.json (44 keys) - locales/en/family.json (42 keys) - locales/en/insights.json (41 keys) Updated translation files: - locales/en/tracking.json (added feeding, health/medicine sections) - locales/en/children.json (verified complete) All pages now use useTranslation hook with proper namespaces. All user-facing text externalized and ready for multi-language support.
This commit is contained in:
@@ -58,5 +58,50 @@
|
||||
"safety": "Safety",
|
||||
"nutrition": "Nutrition",
|
||||
"general": "General"
|
||||
},
|
||||
"interface": {
|
||||
"assistantTitle": "AI Parenting Assistant",
|
||||
"assistantSubtitle": "Ask me anything about parenting and childcare",
|
||||
"greeting": "Hi {{name}}! How can I help you today?",
|
||||
"inputPlaceholder": "Ask me anything...",
|
||||
"closeDrawer": "Close drawer",
|
||||
"moreOptions": "More options",
|
||||
"deleteConversation": "Delete conversation",
|
||||
"chatCount": "{{count}} chat",
|
||||
"chatCount_plural": "{{count}} chats",
|
||||
"ungrouped": "Ungrouped",
|
||||
"errorMessage": "Sorry, I encountered an error. Please try again.",
|
||||
"disclaimerFooter": "This AI assistant provides general information. Always consult healthcare professionals for medical advice.",
|
||||
"deleteDialogTitle": "Delete Conversation",
|
||||
"deleteDialogMessage": "Are you sure you want to delete this conversation? This action cannot be undone.",
|
||||
"cancel": "Cancel",
|
||||
"delete": "Delete",
|
||||
"moveToGroup": "Move to Group",
|
||||
"createNewGroup": "Create New Group",
|
||||
"groupNameLabel": "Group Name",
|
||||
"create": "Create",
|
||||
"suggestedQuestion1": "How much should my baby sleep at 3 months?",
|
||||
"suggestedQuestion2": "What are normal feeding patterns?",
|
||||
"suggestedQuestion3": "When should I introduce solid foods?",
|
||||
"suggestedQuestion4": "Tips for better sleep routine",
|
||||
"thinking1": "Gathering baby wisdom...",
|
||||
"thinking2": "Consulting the baby books...",
|
||||
"thinking3": "Mixing up the perfect answer...",
|
||||
"thinking4": "Warming up some advice...",
|
||||
"thinking5": "Preparing your bottle of knowledge...",
|
||||
"thinking6": "Counting tiny fingers and toes...",
|
||||
"thinking7": "Connecting the building blocks...",
|
||||
"thinking8": "Peeking into the toy box...",
|
||||
"thinking9": "Arranging the puzzle pieces...",
|
||||
"thinking10": "Stirring the baby food jar...",
|
||||
"thinking11": "Polishing the pacifier of wisdom...",
|
||||
"thinking12": "Tiptoeing through naptime...",
|
||||
"thinking13": "Organizing the diaper bag...",
|
||||
"thinking14": "Wrapping up your answer with love...",
|
||||
"thinking15": "Brewing a warm cup of guidance...",
|
||||
"thinking16": "Knitting together some thoughts...",
|
||||
"thinking17": "Tucking in the details...",
|
||||
"thinking18": "Sprinkling some magic dust...",
|
||||
"thinking19": "Humming a lullaby while I think..."
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user