Enable Chinese

This commit is contained in:
Reckless_Satoshi 2022-10-14 05:42:13 -07:00
parent ddd9f3fc32
commit 0f3fb7688c
No known key found for this signature in database
GPG Key ID: 9C4585B561315571
4 changed files with 12 additions and 2 deletions

View File

@ -424,11 +424,17 @@ class BottomBar extends Component {
</div>
PT
</MenuItem>
<MenuItem disabled={true} value={'zh'}>
<MenuItem value={'zh-si'}>
<div style={{ width: 24, position: 'relative', top: 3 }}>
<Flags.CN {...flagProps} />
</div>
ZH
简体
</MenuItem>
<MenuItem value={'zh-tr'}>
<div style={{ width: 24, position: 'relative', top: 3 }}>
<Flags.CN {...flagProps} />
</div>
繁體
</MenuItem>
<MenuItem value={'sv'}>
<div style={{ width: 24, position: 'relative', top: 3 }}>

View File

@ -16,6 +16,8 @@ import translationTH from '../../static/locales/th.json';
import translationCS from '../../static/locales/cs.json';
import translationEU from '../../static/locales/eu.json';
import translationSV from '../../static/locales/sv.json';
import translationZHsi from '../../static/locales/zh-SI.json';
import translationZHtr from '../../static/locales/zh-TR.json';
const config = {
resources: {
@ -33,6 +35,8 @@ const config = {
th: { translations: translationTH },
pl: { translations: translationPL },
sv: { translations: translationSV },
'zh-SI': { translations: translationZHsi },
'zh-TR': { translations: translationZHtr },
},
fallbackLng: 'en',
debug: false,