@amisi/i18n
@amisi/i18n centralizes translation keysets, English locale resources, and runtime translation setup.
What keysets are for
A keyset is a typed map of approved translation keys for one domain.- prevent typos in translation lookups
- make keys discoverable by domain
- keep app code aligned with locale files
Example
Runtime setup
Wrap your app once withI18nProvider:
Using translations in components
Locale source of truth
All default English text lives in:packages/i18n/src/locales/en/*.json