diff --git a/project/src/services/LocaleService.ts b/project/src/services/LocaleService.ts index c9bc8263..bf5b3fd8 100644 --- a/project/src/services/LocaleService.ts +++ b/project/src/services/LocaleService.ts @@ -36,7 +36,7 @@ export class LocaleService } this.logger.warning( - `Unable to find desired locale file using locale ${this.getDesiredGameLocale()} from config/locale.json, falling back to 'en'`, + `Unable to find desired locale file using locale: ${this.getDesiredGameLocale()} from config/locale.json, falling back to 'en'`, ); return this.databaseServer.getTables().locales.global.en; @@ -103,6 +103,12 @@ export class LocaleService return "en"; } + // BSG map Czech to CZ for some reason + if (platformLocale.language === "cs") + { + return "cz"; + } + return platformLocale.language; } }