Matrixgo commented on issue #749:
URL: 
https://github.com/apache/rocketmq-externals/issues/749#issuecomment-953552792


   > 我今天遇到同样的问题,不管是用 docker 还是 java 命令启动,用浏览器打开,控制台都报错 Unexpected token z in 
JSON at position 0,debug 看到 json 值是 zh-CN,搜索源码没有找到 "zh-CN"。
   > 
   > 查看浏览器 cookie,发现 NG_TRANSLATE_LANG_KEY 值是 zh-CN,删掉它,刷新页面,问题解决。
   
   那这是框架的机制了
   angular-translate will store the initial language as we set by 
preferredLanguage () with the key NG_TRANSLATE_LANG_KEY. It’ll assign the 
language as its value in the browser localStorage and then update it every time 
the user switches the language. When the user opens the application, 
angular-translate will retrieve it from localStorage.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to