Skip to content

Localization

Goh Wei Wen edited this page Sep 26, 2023 · 4 revisions

Allium uses fluent for localization.

The locale files can be found at .allium/locales.

Adding a new language

  1. Copy the en-US folder at .allium/locales into a new folder matching the language code of the new language.
  2. Translate the keys using fluent.
  3. (Optionally) Test your new language on the playground.
  4. Add a lang-<LANGUAGE_CODE> field with the native language name to the en-US langs.ftl file (not the new language!): .allium/locales/en-US/langs.ftl
  5. Create a pull request with your changes.
Clone this wiki locally