diff --git a/project/src/services/LocaleService.ts b/project/src/services/LocaleService.ts index 421bee93..49637e88 100644 --- a/project/src/services/LocaleService.ts +++ b/project/src/services/LocaleService.ts @@ -96,6 +96,11 @@ export class LocaleService { // Chek if base language (e.g. CN / EN / DE) exists const languageCode = platformLocale.language.toLocaleLowerCase(); if (this.localeConfig.serverSupportedLocales.includes(languageCode)) { + if (baseNameCode === "zh") { + // Handle edge case of zh + return "zh-cn"; + } + return languageCode; }