How to prekratite redirect to the Api Yandex maps?
Hello! Can you please tell what code I'm doing wrong. Screwed api Yandex maps to determine the user's country to show him the desired language. Does not work something. I'm not good at languages, maybe something not so prescribed?
Georgiana.Nolan17 answered on March 19th 20 at 09:21
To determine the language to be used client side of the site, it is sufficient to examine the properties window.navigator. How to determine the browser language of the user?
header('loacation ') - you can't use it in JS, this PHP.
In JS the same behavior is caused by the change properties window.location.href