Change the app language
- Open Settings › Appearance.
- Under Language, choose your language.
Languages available today
If a phrase hasn’t been translated yet, the app shows it in English.
Improve a translation
Each language has its own file inapps/app/src/i18n/locales, such as fr.ts or es.ts. Most fixes are text changes in one file. Open a pull request with your change.
Add a new language
These steps are for contributors comfortable editing code.- Create
apps/app/src/i18n/locales/<code>.ts, usingen.tsas the starting point. - In
apps/app/src/i18n/index.ts, register the language:- Add the import.
- Add the code to the
Languagetype and theLANGUAGESlist. - Add an entry to
LANGUAGE_OPTIONSwith the English name and the name in that language. - Add the translations to
TRANSLATIONS. - Add the code to
pluralRulesByLanguage. - If the language doesn’t mark plurals on nouns (like Japanese or Chinese), add it to
PLURAL_SUFFIX_EMPTY_LANGUAGES.
- In
scripts/i18n-audit.mjs, add the code toLOCALES. If the language needs plural forms beyond “one” and “other” and isn’t already listed inPLURAL_FORMS, add it there. - Check for missing text and plural forms: