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

Daniel Wolf commented on CB-14236:
----------------------------------

Thanks for the information, [~jcesarmobile]. There's one thing I don't 
understand, though: Most browsers (inclusing Chrome) have their own language 
options, where the user can set preferred languages independently from the OS 
settings. Normally, reading `navigator.languages` on these browsers returns the 
browser settings, _not_ the OS settings. But when used as a webview within 
Cordova, Chrome returns the OS settings instead of the browser settings.

So how do these browsers know whether to return the browser settings or the OS 
settings? Does Cordova tell them?

> 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