Skip to content

Commit 3ccbe9f

Browse files
committed
Register Chinese language for translation
1 parent 30012a3 commit 3ccbe9f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/i18n/locales/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import translationEN from './en';
22
import translationPSEUDO from './pseudo';
3+
import translationZH from './zh-SG';
34

45
export enum i18nLanguageCode {
56
ENGLISH = 'en',
7+
CHINESE = 'zh',
68
PSEUDO = 'pseudo',
79
DEFAULT = ENGLISH
810
}
@@ -24,6 +26,10 @@ const developmentOnlyLanguages = {
2426
[i18nLanguageCode.PSEUDO]: {
2527
name: 'Pseudo',
2628
...translationPSEUDO
29+
},
30+
[i18nLanguageCode.CHINESE]: {
31+
name: '中文',
32+
...translationZH
2733
}
2834
};
2935

0 commit comments

Comments
 (0)