i18n: add support for chinese
This commit is contained in:
1 parent
4b730ab415
commit
e1158bf8e0
2 files changed
+13
No files matched your search
@@ -581,6 +581,9 @@
|
||||
"de": "German",
|
||||
"fi": "Finnish",
|
||||
"pt": "Portuguese",
|
||||
"zh": "Chinese",
|
||||
"zh-Hans": "Chinese (Simplified)",
|
||||
"zh-Hant": "Chinese (Traditional)",
|
||||
"auto": "Auto",
|
||||
"credits": "Credits",
|
||||
"useRtl": {
|
||||
|
||||
@@ -37,6 +37,16 @@ const config: Config = {
|
||||
key: '',
|
||||
loader: async () => (await import('./i18n/pt.json')).default,
|
||||
},
|
||||
{
|
||||
locale: 'zh-Hans',
|
||||
key: '',
|
||||
loader: async () => (await import('./i18n/zh-Hans.json')).default,
|
||||
},
|
||||
{
|
||||
locale: 'zh-Hant',
|
||||
key: '',
|
||||
loader: async () => (await import('./i18n/zh-Hant.json')).default,
|
||||
},
|
||||
],
|
||||
fallbackLocale: 'en',
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user