自最近几个月以来
我在从 window.navigator.language 检测 CountryCode 时遇到问题。我当前在 Chrome 上的语言是法语(瑞士)
目前它仅返回语言:
window.navigator.language: fr
它返回语言国家代码:
window.navigator.languge: fr-ch
I did a lot of try but currently I cannot detect it from chrome browser.
Do you have any idea to solve this problem ?
updated: This is my current setting:
And here is the result from chrome:
Hope I will get some help. Thank you
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)