mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-11 02:05:09 +01:00
.. | ||
css | ||
locales | ||
templates | ||
languages.ts | ||
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
.