Sort default language codes for neatness

This commit is contained in:
William Oldham 2024-01-06 12:36:59 +00:00
parent 86e81dcd05
commit 4c3528892f

View File

@ -14,37 +14,37 @@ const countryPriority: Record<string, string> = {
// list of iso639_1 Alpha-2 codes used as default languages
const defaultLanguageCodes: string[] = [
"en-US",
"ar-SA",
"bg-BG",
"bn-BD",
"cs-CZ",
"de-DE",
"el-GR",
"en-US",
"es-ES",
"et-EE",
"fa-IR",
"fr-FR",
"pt-BR",
"gl-ES",
"gu-IN",
"he-IL",
"id-ID",
"it-IT",
"ja-JP",
"ko-KR",
"lv-LV",
"ne-NP",
"nl-NL",
"pl-PL",
"pt-BR",
"ru-RU",
"sl-SI",
"sv-SE",
"ta-LK",
"th-TH",
"tr-TR",
"vi-VN",
"zh-CN",
"he-IL",
"sv-SE",
"lv-LV",
"th-TH",
"ne-NP",
"ar-SA",
"es-ES",
"et-EE",
"bg-BG",
"bn-BD",
"el-GR",
"fa-IR",
"gu-IN",
"id-ID",
"ja-JP",
"ko-KR",
"sl-SI",
"ta-LK",
"ru-RU",
"gl-ES",
];
export interface LocaleInfo {