diff options
author | tqcenglish <tqcenglish@gmail.com> | 2019-08-10 23:51:21 +0800 |
---|---|---|
committer | tqcenglish <tqcenglish@gmail.com> | 2019-08-10 23:51:21 +0800 |
commit | 4ad00e9fb71f3db9b652f08503160a14db1d07df (patch) | |
tree | 3e34c9aa7ff7b7dec9df81a81f8a285eda5ba78d /ui/src/i18next.ts | |
parent | ec4699e9ca99499c9958289573a35a8bd783c351 (diff) |
i18n zh
Diffstat (limited to 'ui/src/i18next.ts')
-rw-r--r-- | ui/src/i18next.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/src/i18next.ts b/ui/src/i18next.ts index 3b2ad604..0c02abf2 100644 --- a/ui/src/i18next.ts +++ b/ui/src/i18next.ts @@ -2,12 +2,14 @@ import * as i18n from 'i18next'; import { getLanguage } from './utils'; import { en } from './translations/en'; import { de } from './translations/de'; +import { zh } from './translations/zh'; // https://github.com/nimbusec-oss/inferno-i18next/blob/master/tests/T.test.js#L66 // TODO don't forget to add moment locales for new languages. const resources = { en: en, de: de, + zh: zh, } function format(value: any, format: any, lng: any) { |