System language is always sent as the top preference, even if removed from the Languages settings
Reported by
d.a.turo...@gmail.com,
Sep 20
|
|||||
Issue descriptionSteps to reproduce the problem: 1. Set your device system language to any, example: fr-FR 2. In Chrome settings, go to Languages 3. Remove French (France) from there, add German (Germany) as the only language 4. Analyze the HTTP Accept headers using any tool What is the expected behavior? Language settings are independent of the system settings What went wrong? System language will always be sent as the top priority preference in the headers, so even if user explicitly chooses to see pages in a language different from the system language, it won't work. Did this work before? N/A Chrome version: 69.0.3497.100 Channel: stable OS Version: 8.0 Flash Version:
,
Sep 21
@d.a.turovets: Attaching screencast for reference. Could you please check and let us know if we miss anything. Could you please elaborate step#4. Thanks!
,
Sep 21
Hi, after playing a bit with it seems the steps should be clarified: 1. Switch system language to any other than the current 2. In Chrome, open Language Settings. It will have a current lang-COUNTRY at the top, then just lang, then en-US, then en. 3. Remove all languages but the last one, English (en) without the country 4. Visit: https://www.whatismybrowser.com/detect/what-http-headers-is-my-browser-sending and take a note of ACCEPT_LANGUAGE header. The same works if you leave only "French" (fr) or "German" (de), without the country. There should be only one language left, having just language code with no country.
,
Sep 21
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Oct 16
,
Oct 19
This problem is seen in both Chrome for Windows and Android.
I tried clear all data of Chrome app, and start fresh. Even after that Chrome load pages in Hindi. There is no Hindi in the list of languages in my settings. Only language is English-US.
In desktop version dev console,
navigator.languages returns ["hi-IN", "en-US"]
navigator.language returns "hi-IN"
In settings, only English(US) is listed under languages. I have verified my Google account too.
When I see the source of a page loading in Hindi language, header is
as below
<html lang="hi">
Where is this language setting coming from? How do I change it permanently?
,
Oct 19
Assigning to Anthony to confirm we're doing the expected thing here.
,
Oct 25
PS: I played with this on Mac and this does not seem to be the case there. If I remove the UI language it does not get sent with my accept-language headers.
,
Dec 13
I'm runnging chromium-71.0.3578.80-1-x86_64 on Arch Linux and I can't get rid of ru-RU in accept-language header. navigator.language: "ru-RU" ACCEPT_LANGUAGE header: ru-RU,ru;q=0.9,en;q=0.8,de;q=0.7 environment var LANG=en_US.UTF-8 chrome://settings/languages has English, German https://myaccount.google.com/preferences#localization has English, German yet when I switch account to another one which has the same google & chrome language settings then ACCEPT_LANGUAGE is correct: en-US,en;q=0.9,de;q=0.8 |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by chelamcherla@chromium.org
, Sep 21