Commit 49ef9550 by 罗绍泽

中文国际化

parent b01d3822
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -48,7 +48,12 @@ activitiModeler
suffix: '.json'
});
$translateProvider.preferredLanguage('en');
var language = navigator.language;
if("zh-CN" == language){
$translateProvider.preferredLanguage('zh');
}else{
$translateProvider.preferredLanguage('en');
}
// remember language
$translateProvider.useCookieStorage();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment