Detecting browser language setting?

17 views
Skip to first unread message

wb

unread,
Jun 21, 2015, 1:21:11 PM6/21/15
to 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.
Reply all
Reply to author
Forward
0 new messages