diff --git a/docs/_includes/head.html b/docs/_includes/head.html
index 8d20dcce8..ed637ceaf 100644
--- a/docs/_includes/head.html
+++ b/docs/_includes/head.html
@@ -33,7 +33,7 @@
currentLang = navigator.browserLanguage;
}
- if(currentLang.substr(1,2).toLowerCase()=="zh"){
+ if(currentLang.substr(0,2).toLowerCase()=="zh"){
document.getElementById("maxkey_title").innerHTML="MaxKey-业界领先的企业级IAM身份管理和身份认证产品";
}