About the languages#
Locales are difficult, here is some guidance.
Process on adding new languages#
- Use Weblate to add translations, see contributing guidelines.
- Add your language to
@/assets/languages.ts. Must be in ISO format (ISO-639 for language and ISO-3166 for country/region). For joke languages, use any format. - If the language code doesn't have a region specified (Such as in
pt-BR,BRbeing the region), add a default region in@/utils/language.tsatdefaultLanguageCodes - If the language code doesn't contain a region (Such as in
zh-Hant), add a default country in@/utils/language.tsatcountryPriority.