stack/packages
Madison 4421773288 [200~feat(i18n): replace quetzal with i18next for translations
Migrate from quetzal (deprecated) to i18next for internationalization.
JSON locale files are now the source of truth and can be directly edited.

Changes:
- Add i18next dependency
- Create editable JSON locale files for 13 languages
- Add generate-i18next-locales script to bundle translations
- Consolidate translation providers into single TranslationProvider
- Remove quetzal-based translation-provider-client

The translation API remains backward compatible:
- useTranslation() returns { t: (str, vars?) => string }
- StackProvider accepts lang and translationOverrides props
- Same supported locales: de-DE, en-US, es-419, es-ES, fr-CA, fr-FR,
  it-IT, ja-JP, ko-KR, pt-BR, pt-PT, zh-CN, zh-TW

To edit translations:
1. Edit JSON files in packages/template/src/locales/
2. Run: pnpm run generate-i18next-locales
3. Run: pnpm run generate-sdks~
2026-01-22 11:23:50 -06:00
..
init-stack chore: update package versions 2026-01-20 11:49:56 -08:00
js [200~feat(i18n): replace quetzal with i18next for translations 2026-01-22 11:23:50 -06:00
react [200~feat(i18n): replace quetzal with i18next for translations 2026-01-22 11:23:50 -06:00
stack [200~feat(i18n): replace quetzal with i18next for translations 2026-01-22 11:23:50 -06:00
stack-sc chore: update package versions 2026-01-20 11:49:56 -08:00
stack-shared Config sources (#1083) 2026-01-21 18:08:35 -08:00
stack-ui chore: update package versions 2026-01-20 11:49:56 -08:00
template [200~feat(i18n): replace quetzal with i18next for translations 2026-01-22 11:23:50 -06:00