LiddleLaLoo LiddleLaLoo - 1 year ago 91
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?

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download