适配windows

This commit is contained in:
2025-09-06 20:53:05 +08:00
parent e4245a6fed
commit 79d66a69a3
3 changed files with 129 additions and 45 deletions

View File

@@ -33,6 +33,12 @@ i18n
zh: {
common: zh,
},
'zh-CN': {
common: zh,
},
'zh-TW': {
common: zh,
},
},
// 命名空间配置
@@ -48,7 +54,7 @@ i18n
},
// 白名单支持的语言
supportedLngs: ['en', 'zh'],
supportedLngs: ['en', 'zh', 'zh-CN', 'zh-TW'],
// 非显式支持的语言回退到en
nonExplicitSupportedLngs: true,