Skip to content
flexcal Documentation

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.

  1. Add the key and English text to packages/i18n/locales/en/common.json.
  2. Use it through the t() helper rather than embedding literal text in components.
  3. Leave the other locale files alone.

Unused keys are reported by the check configured in i18n-unused.config.js.