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

@@ -165,7 +165,9 @@ export default function HomePage() {
aria-label={t('quickActions.navigateTo', { action: action.label })}
sx={{
p: 3,
height: '100%',
height: '140px', // Fixed height for consistency
minHeight: '140px', // Ensure minimum height
width: '100%', // Full width of grid container
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
@@ -225,8 +227,10 @@ export default function HomePage() {
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
height: '100%',
minHeight: '120px'
justifyContent: 'center',
height: '120px', // Fixed height for consistency
minHeight: '120px',
width: '100%'
}}
>
<Restaurant sx={{ fontSize: 32, color: 'primary.main', mb: 1 }} aria-hidden="true" />
@@ -245,8 +249,10 @@ export default function HomePage() {
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
height: '100%',
minHeight: '120px'
justifyContent: 'center',
height: '120px', // Fixed height for consistency
minHeight: '120px',
width: '100%'
}}
>
<Hotel sx={{ fontSize: 32, color: 'info.main', mb: 1 }} aria-hidden="true" />
@@ -267,8 +273,10 @@ export default function HomePage() {
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
height: '100%',
minHeight: '120px'
justifyContent: 'center',
height: '120px', // Fixed height for consistency
minHeight: '120px',
width: '100%'
}}
>
<BabyChangingStation sx={{ fontSize: 32, color: 'warning.main', mb: 1 }} aria-hidden="true" />
@@ -287,8 +295,10 @@ export default function HomePage() {
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
height: '100%',
minHeight: '120px'
justifyContent: 'center',
height: '120px', // Fixed height for consistency
minHeight: '120px',
width: '100%'
}}
>
<MedicalServices sx={{ fontSize: 32, color: 'error.main', mb: 1 }} aria-hidden="true" />