You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 years ago | |
---|---|---|
.. | ||
css | 2 years ago | |
locales | 2 years ago | |
templates | 2 years ago | |
README.md | 2 years ago | |
languages.ts | 2 years ago |
README.md
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
,BR
being the region), add a default region in@/utils/language.ts
atdefaultLanguageCodes
- If the language code doesn't contain a region (Such as in
zh-Hant
), add a default country in@/utils/language.ts
atcountryPriority
.