This plugin gets your phone's location, in 2 letter ISO format. If you change the language in your phone, then it will return the 2 letters corresponding the language that you have selected.
More info about this plugin can be found at https://www.npmjs.com/package/cordova-plugin-country