We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d6a891 commit fa53e89Copy full SHA for fa53e89
site/src/i18n.js
@@ -4,7 +4,7 @@ import zhCN from './locale/zh-CN';
4
import { isZhCN } from './utils/util';
5
6
const i18n = createI18n({
7
- legacy: true,
+ legacy: false,
8
locale: isZhCN(location.pathname) ? 'zh-CN' : 'en-US',
9
fallbackLocale: 'en-US',
10
messages: {
0 commit comments