Answer the question
In order to leave comments, you need to log in
How to determine the language of an IOS / Android device from a mobile application?
There is a task: to enter the mobile application for the first time, you need to determine the language of the Android / IOS device from which it is launched. The application itself is written using the Apache Cordova platform , using standard Js, HTML, CSS web technologies. Guys, can anyone come across such a problem?
Determining the language by geo location or window.navigator does not work =(
Answer the question
In order to leave comments, you need to log in
JavaScript:
var lang = (navigator.language || navigator.systemLanguage || navigator.userLanguage);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question