diff --git a/shared/models/i18n/i18n.ts b/shared/models/i18n/i18n.ts index ff367b279..36688382d 100644 --- a/shared/models/i18n/i18n.ts +++ b/shared/models/i18n/i18n.ts @@ -1,11 +1,13 @@ export const LOCALE_FILES = [ 'player', 'server' ] export const I18N_LOCALES = { + // Always first to avoid issues when using express acceptLanguages function when no accept language header is set + 'en-US': 'English', + 'ca-ES': 'Català', 'cs-CZ': 'Čeština', 'de-DE': 'Deutsch', 'el-GR': 'ελληνικά', - 'en-US': 'English', 'eo': 'Esperanto', 'es-ES': 'Español', 'eu-ES': 'Euskara',