[Bug 117915] Re: Firefox navigator.language always return en-US

John Vivirito gnomefreak at gmail.com
Wed Jun 13 10:01:16 UTC 2007


** Description changed:

  Binary package hint: firefox
  
  My locale is es_ES.UTF-8, my list of preferred langs is es-es, es, en-
  us, en. But this Javascript code returns en-US:
  
     alert("navigator.language: "+navigator.language);
  
  Why? It should return es-ES (or es-es).
+ 
+ 
+ TESTCASE:
+ Steps to Reproduce:
+ 1.Set your default language to something different than the locale
+ 2a. access navigator.language javascript property
+ 2b. or access http://gemal.dk/browserspy/language.html
+ 
+ Actual Results:  
+ you get your locale
+ 
+ Expected Results:  
+ you should get the default language

-- 
Firefox navigator.language always return en-US
https://bugs.launchpad.net/bugs/117915
You received this bug notification because you are a member of Mozilla
Bugs, which is the bug contact for Mozilla Firefox.




More information about the Ubuntu-mozillateam-bugs mailing list