From fa53e89e5104f2e5caebc0af5cf0d3d9330301d2 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Mon, 8 Aug 2022 10:13:51 +0800 Subject: [PATCH] doc: fix site error --- site/src/i18n.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/i18n.js b/site/src/i18n.js index be4afa414..39bf8971f 100644 --- a/site/src/i18n.js +++ b/site/src/i18n.js @@ -4,7 +4,7 @@ import zhCN from './locale/zh-CN'; import { isZhCN } from './utils/util'; const i18n = createI18n({ - legacy: true, + legacy: false, locale: isZhCN(location.pathname) ? 'zh-CN' : 'en-US', fallbackLocale: 'en-US', messages: {