New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 887447 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

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 description

Steps 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:
 
Labels: Needs-triage-Mobile
Cc: chelamcherla@chromium.org
Labels: Needs-Feedback Triaged-Mobile
@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!
887447.mp4
9.6 MB View Download
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.

langs.png
353 KB View Download
Project Member

Comment 4 by sheriffbot@chromium.org, Sep 21

Labels: -Needs-Feedback
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
Components: UI>Browser>Language
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?
Cc: -chelamcherla@chromium.org ma...@chromium.org sindhu.chelamcherla@chromium.org anthonyvd@chromium.org
Owner: anthonyvd@chromium.org
Status: Assigned (was: Unconfirmed)
Assigning to Anthony to confirm we're doing the expected thing here.
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. 

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