← Back to team overview

desktop-packages team mailing list archive

[Bug 1322333] Re: Missing language in Accept-Language field of HTTP requests

 

Hello,

I have same problem on ubuntu 14.04, firefox 38.0 (firefox
38.0+build3-0ubuntu0.14.04.1 amd64).

Workaround:  edit preferred languages in firefox preferences or about:config
Problem reappears after deleting .mozilla folder and starting firefox again.

Regards,

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1322333

Title:
  Missing language in Accept-Language field of HTTP requests

Status in firefox package in Ubuntu:
  Fix Released

Bug description:
  I am running Ubuntu 14.04 (64 bits) in French, and I use Firefox in
  French too. My Firefox version is 29.0, tagged as "Mozilla Firefox for
  Ubuntu / canonical - 1.0"

  Some web sites change their default language according to the HTTP
  request field named "Accept-Language". I expect those web sites to
  offer me a web page in French, however I always get the English
  version when browsing with Firefox.

  After some investigation, I discovered that my version of Firefox does
  not send an expected value for "Accept-Language".

   - Expected value: fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3
   - Value sent instead: en-US,en;q=0.5

  Tests with other browsers:
   - French Chromimum on French Ubuntu 14.04: the value is correct
   - French Firefox on French Windows 7: the value is correct.
   - French Chrome on French Windows 7: the value is correct.

  Maybe the problem is present with other languages.

  I don't know if it is related, but:
   - in Firefox's about:config, the value of intl.accept_languages is: fr, fr-fr, en-us, en
   - in a terminal, the "locale" command shows only fr_FR

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1322333/+subscriptions