LiddleLaLoo LiddleLaLoo - 29 days ago 10
iOS Question

How can I detect the system language of an iOS device using JavaScript?

I have found this previous question but it uses C. Is there a way to do this through JQuery or JavaScript?


Below method will help you to find your device language using Cordova/Phonegap.

function checkLanguage() {
        function (language) {    
            alert('language: ' + language.value + '\n');
        function () {
            alert('Error getting language\n');

Note: Check the Cordova Globalization plugin documentation for more.