[Bug 232259] Re: wrong browser language in javascript

Alexander Sack asac at jwsdot.com
Thu Jun 5 14:11:10 UTC 2008


On Tue, Jun 03, 2008 at 09:50:04PM -0000, maurizio.cas wrote:
> Ok.
> 
> These are the step i've done. I'hope i've understended what i've to do.
> 
> My settings:
> intl.locale.matchOS = true in both '/usr/lib/xulrunner-1.9/greprefs/all.js' and '/usr/share/epiphany-browser/default-prefs.js'
> gnome language = it
> epiphany preferences dialog language: it-IT
> I see all my gnome apps in italian and also i've both language-pack-gnome-it and language-pack-gnome-base-it installed, so i guess i've the translation.
> 
> Now i've commented the line 'general.useragent.locale' in default-prefs.js
> result: browser.language = en-US

thanks for testing this ... could you do this above and also comment it in
/usr/lib/xulrunner-1.9/defaults/pref/xulrunner.js

does that change anything?

If not, could you please attach a simple .html file as attachment that
displays the user agent language so i can try to develop a fix against
that testcase?

 status incomplete

 - Alexander

-- 
wrong browser language in javascript
https://bugs.launchpad.net/bugs/232259
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to xulrunner-1.9 in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list