navigator.language result differs between english and other languages
Reported by
p.codou...@gmail.com,
Jan 15 2018
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36 Steps to reproduce the problem: 1. put the language setting in "en-US" (Google Chrome is displayed in this language) and restart 2. in the console, type "navigator.language", you obtain "en-US" 3. put the language setting in "fr-CH" (Google Chrome is displayed in this language) and restart 4. in the console, type "navigator.language", you obtain "fr" What is the expected behavior? the expected result is "fr-CH" What went wrong? the regional setting is lost for languages different than english. Did this work before? Yes no idea Does this work in other browsers? Yes Chrome version: 63.0.3239.84 Channel: stable OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: that's a main problem for internationalization of webapplicationa
,
Jan 16 2018
I am having same issue than you. Looking for a response
,
Jan 17 2018
Able to reproduce this issue on Mac 10.12.6, Win-10 and Ubuntu 14.04 using chrome reported version #63.0.3239.132 and latest canary #65.0.3323.0. This is a non-regression issue as it is observed from M50 old builds. Hence, marking it as untriaged to get more inputs from dev team. Thanks...!!
,
Jan 17 2018
This bug is not related to Chrome DevTools. Reassigned to author of navigator.language implementation for further triage. Mounir please take a look.
,
Mar 16 2018
Same issue for me. Looking for response.
,
Oct 19
This problem is seen in both Chrome for Windows and Android.
Chrome for Windows : 70.0.3538.67 (Official Build) beta (64-bit)
Chrome for Android : 69.0.3497.100
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. Attached the screenshot of language setting in Chrome for Windows. 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?
|
|||
►
Sign in to add a comment |
|||
Comment 1 by krajshree@chromium.org
, Jan 15 2018