Issue metadata
Sign in to add a comment
|
Accept-Language HTTP header values should come from the OS language preference on Android "N" |
||||||||||||||||||||||||
Issue descriptionAndroid N (preview) has the ordered list of language preference. In the past, there's only one language (UI language). Chrome on Android should populate Accept-Language HTTP header fields with the list taken from the OS instead of the values taken from the preference. Or, the preference for the A-L should be populated by getting the list from the OS. I'm not sure where 'preference' handling belongs (component). Internals>Network>HTTP is not really a good fit because it just gets the list from Chrome and send A-L header to the server. In Blink, navigator.languages[] (plural) should reflect that, too. I can't find a suitable component for this one. BTW, do we need R-V-G for this issue? Android N preview is already out to the public, isn't it?
,
Aug 25 2016
Mihai and Roozbeh, there is an API to retrieve the ordered list of languages? (I may have asked this question before, but I forgot the answer).
,
Aug 25 2016
android.os.LocaleList.getDefault() and .getAdjustedDefault(), depending on what you need.
,
Aug 26 2016
Thanks, Roozbeh ! Adding a few folks and bumping up Priority to 2.
,
Aug 26 2016
Let me mark as dup of my issue. This is now blocked by SDK roll ( issue 623989 ).
,
Jul 6
,
Jul 6
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by js...@chromium.org
, Aug 25 2016Labels: -Restrict-View-Google