From f69ec5f340638ef577e8f5b9b1fb844778656a1f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 3 Sep 2019 15:48:25 +0200 Subject: Fix zh locales --- shared/models/i18n/i18n.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shared/models/i18n/i18n.ts b/shared/models/i18n/i18n.ts index 218fd09ba..03a5d858a 100644 --- a/shared/models/i18n/i18n.ts +++ b/shared/models/i18n/i18n.ts @@ -39,7 +39,9 @@ const I18N_LOCALE_ALIAS = { 'pl': 'pl-PL', 'ru': 'ru-RU', 'nl': 'nl-NL', - 'zh': 'zh-Hans-CN' + 'zh': 'zh-Hans-CN', + 'zh-CN': 'zh-Hans-CN', + 'zh-TW': 'zh-Hant-TW' } export const POSSIBLE_LOCALES = Object.keys(I18N_LOCALES) -- cgit v1.2.3