Translations
English is the source of truth. Every UI string lives in
packages/i18n/locales/en/common.json.
Other locales are generated from that file with lingo.dev, configured in
i18n.json at the repository root. Do not hand-edit the generated locale files: add or change the
English string and let the tooling propagate it.
Adding a string
Section titled “Adding a string”- Add the key and English text to
packages/i18n/locales/en/common.json. - Use it through the
t()helper rather than embedding literal text in components. - Leave the other locale files alone.
Unused keys are reported by the check configured in i18n-unused.config.js.