diff options
Diffstat (limited to 'src/misc')
| -rw-r--r-- | src/misc/i18n.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/misc/i18n.ts b/src/misc/i18n.ts index 023c5d7..6155732 100644 --- a/src/misc/i18n.ts +++ b/src/misc/i18n.ts @@ -32,6 +32,7 @@ i18next switch (url) { case '/__zh/translation.json': + case '/__zh-CN/translation.json': p = allLocales.zh; break; case '/__en/translation.json': @@ -47,7 +48,7 @@ i18next } }, }, - supportedLngs: ['en', 'zh'], + supportedLngs: ['en', 'zh-CN'], fallbackLng: 'en', interpolation: { escapeValue: false, |
