movie-web/src/assets
Jorrin ae81832037 improve how to change seasons 2024-04-22 20:26:54 +02:00
..
css Fix RTL issues 2023-12-16 16:50:34 +01:00
locales improve how to change seasons 2024-04-22 20:26:54 +02:00
templates Remove unused files/functions + localize everything except player and pages + reorganize files + fix lint warnings 2023-11-26 16:04:23 +01:00
README.md Update language readme 2024-01-06 10:48:48 +00:00
languages.ts Fix #1016 - Capitalisation of zh-Hant broke traditional Chinese 2024-03-16 12:54:59 +00:00

README.md

About the languages

Locales are difficult, here is some guidance.

Process on adding new languages

  1. Use Weblate to add translations, see contributing guidelines.
  2. 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.
  3. 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 at defaultLanguageCodes
  4. If the language code doesn't contain a region (Such as in zh-Hant), add a default country in @/utils/language.ts at countryPriority.