Browse Source

Fix zh locales

Chocobozzz 4 years ago
parent
commit
f69ec5f340
1 changed files with 3 additions and 1 deletions
  1. 3 1
      shared/models/i18n/i18n.ts

+ 3 - 1
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)