forked from recloudstream/cloudstream
chore: update list of locales
This commit is contained in:
parent
9c956f68f9
commit
7cf9c640b8
1 changed files with 26 additions and 25 deletions
|
@ -56,33 +56,34 @@ fun getCurrentLocale(context: Context): String {
|
||||||
// https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes leave blank for auto
|
// https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes leave blank for auto
|
||||||
val appLanguages = arrayListOf(
|
val appLanguages = arrayListOf(
|
||||||
/* begin language list */
|
/* begin language list */
|
||||||
Triple("", "Spanish", "es"),
|
|
||||||
Triple("", "English", "en"),
|
|
||||||
Triple("", "Viet Nam", "vi"),
|
|
||||||
Triple("", "Dutch", "nl"),
|
|
||||||
Triple("", "French", "fr"),
|
|
||||||
Triple("", "Greek", "el"),
|
|
||||||
Triple("", "Swedish", "sv"),
|
|
||||||
Triple("", "Tagalog", "tl"),
|
|
||||||
Triple("", "Polish", "pl"),
|
|
||||||
Triple("", "Hindi", "hi"),
|
|
||||||
Triple("", "Malayalam", "ml"),
|
|
||||||
Triple("", "Norsk", "no"),
|
|
||||||
Triple("", "German", "de"),
|
|
||||||
Triple("", "Arabic", "ar"),
|
Triple("", "Arabic", "ar"),
|
||||||
Triple("", "Turkish", "tr"),
|
|
||||||
Triple("", "Macedonian", "mk"),
|
|
||||||
Triple("\uD83C\uDDF5\uD83C\uDDF9", "Portuguese", "pt"),
|
|
||||||
Triple("\uD83C\uDDE7\uD83C\uDDF7", "Brazilian Portuguese", "bp"),
|
|
||||||
Triple("", "Romanian", "ro"),
|
|
||||||
Triple("", "Italian", "it"),
|
|
||||||
Triple("", "Chinese Simplified", "zh"),
|
|
||||||
Triple("\uD83C\uDDF9\uD83C\uDDFC", "Chinese Traditional", "zh-TW"),
|
|
||||||
Triple("\uD83C\uDDEE\uD83C\uDDE9", "Indonesian", "in"),
|
|
||||||
Triple("", "Czech", "cs"),
|
|
||||||
Triple("", "Croatian", "hr"),
|
|
||||||
Triple("", "Bulgarian", "bg"),
|
Triple("", "Bulgarian", "bg"),
|
||||||
Triple("", "Bengali", "bn"),
|
Triple("", "Bengali", "bn"),
|
||||||
|
Triple("\uD83C\uDDE7\uD83C\uDDF7", "Brazilian Portuguese", "bp"),
|
||||||
|
Triple("", "Czech", "cs"),
|
||||||
|
Triple("", "German", "de"),
|
||||||
|
Triple("", "Greek", "el"),
|
||||||
|
Triple("", "English", "en"),
|
||||||
|
Triple("", "Spanish", "es"),
|
||||||
|
Triple("", "French", "fr"),
|
||||||
|
Triple("", "Hindi", "hi"),
|
||||||
|
Triple("", "Croatian", "hr"),
|
||||||
|
Triple("\uD83C\uDDEE\uD83C\uDDE9", "Indonesian", "in"),
|
||||||
|
Triple("", "Italian", "it"),
|
||||||
|
Triple("", "Macedonian", "mk"),
|
||||||
|
Triple("", "Malayalam", "ml"),
|
||||||
|
Triple("", "Moldavian", "mo"),
|
||||||
|
Triple("", "Dutch", "nl"),
|
||||||
|
Triple("", "Norsk", "no"),
|
||||||
|
Triple("", "Polish", "pl"),
|
||||||
|
Triple("\uD83C\uDDF5\uD83C\uDDF9", "Portuguese", "pt"),
|
||||||
|
Triple("", "Romanian", "ro"),
|
||||||
|
Triple("", "Swedish", "sv"),
|
||||||
|
Triple("", "Tagalog", "tl"),
|
||||||
|
Triple("", "Turkish", "tr"),
|
||||||
|
Triple("", "Viet Nam", "vi"),
|
||||||
|
Triple("", "Chinese Simplified", "zh"),
|
||||||
|
Triple("\uD83C\uDDF9\uD83C\uDDFC", "Chinese Traditional", "zh-TW"),
|
||||||
/* end language list */
|
/* end language list */
|
||||||
).sortedBy { it.second } //ye, we go alphabetical, so ppl don't put their lang on top
|
).sortedBy { it.second } //ye, we go alphabetical, so ppl don't put their lang on top
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue