Comment 15 for bug 232259

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 232259] Re: wrong browser language in javascript

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