1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2025-01-18 02:01:24 +01:00
smov/src/assets
Joran ddc4119ce5 Added translation using Weblate (Romanian)
Author: Joran <joranfam@gmail.com>
2024-01-03 20:26:32 +00:00
..
css Fix RTL issues 2023-12-16 16:50:34 +01:00
locales Added translation using Weblate (Romanian) 2024-01-03 20:26:32 +00: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
languages.ts Add missing languages + add support for scripts (pain) 2024-01-03 21:20:57 +01:00
README.md Update src/assets/README.md 2024-01-03 20:53:07 +01: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 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 at defaultLanguageCodes
  4. If the flag in the language dropdown doesn't match the correct one. Add a default country in @/utils/language.ts at countryPriority.