i18n: add support for chinese

This commit is contained in:
Xylight committed 2024-07-09 16:41:38 -07:00
1 parent 4b730ab415
commit e1158bf8e0
2 files changed
+13

No files matched your search

+10
View File
@@ -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',
}