GitHub user eweit opened a pull request: https://github.com/apache/cordova-plugin-globalization/pull/15
CB-4602 Changed CDVGlobalization.m so that the return string of getPrefe... ...rredLanguage returns a string that is the same as other devices, such as Android. IOS was displaying simple language tags for certain languages, like have US as the locale and English as the language, getPreferredLanguage would return en. Changed so it returns en-US and similiar for other languages. You can merge this pull request into a Git repository by running: $ git pull https://github.com/eweit/cordova-plugin-globalization CB-4602-2 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-globalization/pull/15.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #15 ---- commit b5d8e3ff801d48f5b9dfe1c30eb096992d868e3c Author: Eric Weiterman <ewei...@us.ibm.com> Date: 2014-07-03T15:10:50Z CB-4602 Changed CDVGlobalization.m so that the return string of getPreferredLanguage returns a string that is the same as other devices, such as Android. IOS was displaying simple language tags for certain languages, like have US as the locale and English as the language, getPreferredLanguage would return en. Changed so it returns en-US and similiar for other languages. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---