|
|
@ -8,7 +8,7 @@ const languageOrder = ["en", "hi", "fr", "de", "nl", "pt"]; |
|
|
|
// This mapping purely exists to prioritize a country over another in languages.
|
|
|
|
// This mapping purely exists to prioritize a country over another in languages.
|
|
|
|
// iso639_1 -> iso3166 Alpha-2
|
|
|
|
// iso639_1 -> iso3166 Alpha-2
|
|
|
|
const countryPriority: Record<string, string> = { |
|
|
|
const countryPriority: Record<string, string> = { |
|
|
|
en: "gb", |
|
|
|
en: "us", |
|
|
|
nl: "nl", |
|
|
|
nl: "nl", |
|
|
|
fr: "fr", |
|
|
|
fr: "fr", |
|
|
|
de: "de", |
|
|
|
de: "de", |
|
|
|