Detecting browser language setting?

已查看 17 次
跳至第一个未读帖子

wb

未读,
2015年6月21日 13:21:112015/6/21
收件人 pyjs-...@googlegroups.com
Hi, 

How can I detect browser language setting in Pyjs? It is simple in Javascript as following

var language = window.navigator.userLanguage || window.navigator.language;
I searched 'navigator.userLanguage' and 'navigator.language' in Pyjs source and nothing was found. I need a solution running both in pyjd and pyjs.

Thanks in advance.
回复全部
回复作者
转发
0 个新帖子