中文支持,设置defaultLocale = 'zh-cn' 后,一切按照正常的业务逻辑运行。但是代码逻辑尚未理清。

This commit is contained in:
celebrateyang 2024-10-17 16:05:18 +08:00
parent 53493d5c56
commit 90a54781ef

View File

@ -21,7 +21,7 @@ for (const [path, loader] of Object.entries(locFiles)) {
}; };
} }
const defaultLocale = 'en'; const defaultLocale = 'zh-cn';
const languages: Record<string, string> = _languages; const languages: Record<string, string> = _languages;
const config: Config<{ const config: Config<{