Commit graph

4 commits

Author SHA1 Message Date
0378a8edd7
Make HTML lang attribute dynamic based on selected language
- Create HtmlLang client component that updates document.documentElement.lang
- Add HtmlLang component to layout.tsx to sync HTML lang attribute with locale
- HTML lang now updates automatically when user changes language
2025-12-26 11:38:38 +01:00
f7553df05d
Phase 1: Infrastructure setup - Install next-intl and create basic i18n structure
- Install next-intl package
- Create LanguageProvider hook with localStorage persistence
- Create IntlProvider component for next-intl integration
- Create Providers wrapper component
- Update layout.tsx to include providers and set default lang to 'es'
- Create initial translation files (common.json) for es, en, ca
- Fix pre-existing TypeScript errors in various pages

All tests passing, build successful.
2025-12-25 21:50:34 +01:00
7ebfb7a2dd
tests passing 2025-12-18 22:08:31 +01:00
a764c92a0b
starting 2025-12-18 21:37:28 +01:00