How to detect system language in Cordova using Java script,I need to detect the language for Android and iOS app
Asked
Active
Viewed 96 times
1
-
Does this answer your question? [How can I detect the system language of an iOS device using JavaScript?](https://stackoverflow.com/questions/19490975/how-can-i-detect-the-system-language-of-an-ios-device-using-javascript) – Andrew Nov 14 '19 at 22:34
1 Answers
2
navigator.language
seems like the simplest way for you to do this
let language = navigator.language
console.log(language);

Shiny
- 4,945
- 3
- 17
- 33