1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00
smov/src/assets
2024-02-28 16:38:17 -05:00
..
css Add sudo-flix code from github 2024-02-26 10:54:56 -05:00
locales Make some silly changes to en.json and fix lightbar 2024-02-28 16:38:17 -05:00
templates Merge movie-web v4.5.0 to sudo-flix main 2024-02-26 17:26:48 -05:00
languages.ts add easter eggs... 2024-02-28 00:07:08 -05:00
README.md Add sudo-flix code from github 2024-02-26 10:54:56 -05:00

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.