[ 
https://issues.apache.org/jira/browse/CB-14236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16563760#comment-16563760
 ] 

jcesarmobile commented on CB-14236:
-----------------------------------

Ah, sorry, as the issue was about cordova-ios I didn't know what Chrome had to 
do with it.

Cordova just uses the WebView component, that it's sort of the rendering 
engine. In Android 4.4-6 it's based in Chromium, in Android 7+ is a component 
provided by Chrome app, but it's not the whole Chrome app. It doesn't have 
access to the settings or any other feature Chrome has. So if Chrome as app 
allows to set languages and override the OS ones, it's only available for the 
Chrome app, not for the apps using the WebView. They share a part of the code, 
but not all of it.



> navigator.languages only returns a single language on iOS 
> ----------------------------------------------------------
>
>                 Key: CB-14236
>                 URL: https://issues.apache.org/jira/browse/CB-14236
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-ios
>    Affects Versions: cordova@7.0.0, cordova-ios 4.5.0
>            Reporter: Daniel Wolf
>            Priority: Major
>
> Most operating systems allow the user to specify not only a single OS locale, 
> but a list of prefered locales. On both Android and Windows UWP, 
> `navigator.languages` returns the full list of prefered languages. On iOS, 
> however, only the first language of the list is returned.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to