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

Issue 661326 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jun 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 2
Type: Bug

Blocked on:
issue 640763



Sign in to add a comment

Changing the locale doesn't "just do the right thing" (re-ordering languages)

Project Member Reported by michae...@chromium.org, Nov 1 2016

Issue description

On Chrome OS and Windows, you can change Chrome's locale in Settings. On Mac and Linux, changing the system locale will update Chrome's locale.

Either way, shouldn't we use Chrome's locale as the primary Accept-Language we request from servers, at least by default?

For example, on Windows or Chrome OS:
1. Create a fresh profile or just clear any google.com cookies.
2. Go to chrome://settings/languages and make sure the only language is "English (United States)". (It's okay if "English" also shows up on Windows.)
3. Add "Spanish" and choose "Display Google Chrome in this language". Restart.
4. Go to google.com.

Expected: google.com shown in Spanish, because you clearly prefer Spanish.
Actual: google.com still shown in English, because you failed to correctly order your languages when you added Spanish.

I kinda think choosing to display Chrome in Spanish should automatically move Spanish to the top of the Accept-Language list. We already use the locale as the translate target language (the first language Translate will attempt to translate a page to).

The user will still need the ability to override this, so I'd propose that we only force a language to the top of the Accept-Language list when the locale is *changed* to that locale from a previous locale.


Note: This remains relevant with the switch to MD Settings.
 
Cc: napper@chromium.org yyushkina@chromium.org
Labels: Hotlist-LanguageSettings
Cc: claudiomagni@chromium.org
Status: WontFix (was: Untriaged)
Claudio and I have been talking about this and we don't think that Chrome locale always indicates your top preference. For example consider a user in India whose UI is in English (due to localization quality, cultural reasons, device sharing, etc.) but who prefers content in Hindi. For that user us forcing the locale language to the top of the preference list is the wrong call. Marking as won't fix but let us know if you disagree.

Sign in to add a comment