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

Decommented and set  'general.useragent.locale'  to en
result: browser.language = en

set  'general.useragent.locale'  to it
result: browser.language = it

Well if i've understended your question the answer is: gecko
browser.language depends only on 'general.useragent.locale' and no, it
does not inherit the epiphany language preferences or the os/gnome
default language.

Also i've done another test. I've dumped epiphany HTTP request header
changing the language only in the epiphany preference dialog. The
resoult is (as i've expected) that HTTP_ACCEPT_LANGUAGE field follow the
setting. (en -> en, it -> it)

Sorry for my english (that's why i need a browser that makes me read in
italian), however i hope these things are helpful.

Maurizio

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to