Files
maternal-app/maternal-web/locales/en/ai.json
Andrei 41320638e5
Some checks failed
CI/CD Pipeline / Build Application (push) Has been cancelled
CI/CD Pipeline / Lint and Test (push) Has been cancelled
CI/CD Pipeline / E2E Tests (push) Has been cancelled
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.
2025-10-03 13:57:47 +00:00

108 lines
4.3 KiB
JSON

{
"title": "AI Assistant",
"subtitle": "24/7 Parenting Support",
"chat": {
"placeholder": "Ask me anything about parenting...",
"send": "Send",
"listening": "Listening...",
"processing": "Processing...",
"thinking": "Thinking...",
"typing": "AI is typing...",
"voiceInput": "Voice Input",
"textInput": "Text Input",
"newChat": "New Chat",
"clearChat": "Clear Chat",
"confirmClear": "Are you sure you want to clear this chat?",
"noMessages": "No messages yet",
"startConversation": "Start a conversation with your AI assistant"
},
"suggestions": {
"title": "Suggested Questions",
"sleepPattern": "How can I improve my baby's sleep pattern?",
"feeding": "How much should my baby be eating?",
"development": "What milestones should I expect this month?",
"health": "When should I be concerned about a fever?"
},
"context": {
"analyzing": "Analyzing your child's patterns...",
"usingRecent": "Using recent activity data",
"basedOn": "Based on {{childName}}'s profile"
},
"disclaimer": {
"title": "Important Disclaimer",
"message": "This AI assistant provides general parenting guidance and is not a substitute for professional medical advice. Always consult with your pediatrician for medical concerns.",
"emergency": "In case of emergency, call emergency services immediately.",
"understand": "I Understand"
},
"limits": {
"dailyLimit": "Daily question limit reached",
"dailyLimitMessage": "You've reached your daily limit of {{limit}} questions. Upgrade to premium for unlimited access.",
"upgrade": "Upgrade to Premium"
},
"history": {
"title": "Chat History",
"today": "Today",
"yesterday": "Yesterday",
"thisWeek": "This Week",
"older": "Older",
"noHistory": "No chat history",
"delete": "Delete Chat",
"confirmDelete": "Are you sure you want to delete this chat?"
},
"topics": {
"sleep": "Sleep",
"feeding": "Feeding",
"development": "Development",
"health": "Health",
"behavior": "Behavior",
"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..."
}
}