diff --git a/site/theme/template/Layout/Header/index.tsx b/site/theme/template/Layout/Header/index.tsx index 6063d1c2b7..3b746fd338 100644 --- a/site/theme/template/Layout/Header/index.tsx +++ b/site/theme/template/Layout/Header/index.tsx @@ -94,7 +94,7 @@ class Header extends React.Component { router.listen(this.handleHideMenu); initDocSearch({ - isZhCN: intl.locale === 'zh', + isZhCN: intl.locale === 'zh-CN', router, });