mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-29 09:11:51 +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 your language 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 flag in the language dropdown doesn't match the correct one. Add a default country in
@/utils/language.ts
atcountryPriority
.