Update weblate link

This commit is contained in:
Cooper 2024-07-13 11:50:51 +00:00
parent 508ac3e215
commit e1693a0723
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
Locales are difficult, here is some guidance. Locales are difficult, here is some guidance.
## Process on adding new languages ## Process on adding new languages
1. Use [Weblate](https://weblate.tinypixel.uk/projects/sudo-flix/main) to add translations, see contributing guidelines. 1. Use [Weblate](https://docs.sudo-flix.lol/links/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. 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` 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`. 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`.