Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-14236

navigator.languages only returns a single language on iOS

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: cordova@7.0.0, cordova-ios 4.5.0
    • Fix Version/s: None
    • Component/s: cordova-ios
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              DanielWolf Daniel Wolf

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment