Answer the question
In order to leave comments, you need to log in
Rus/Eng version of the site. How to output the desired language to the desired IP?
Hello. Please tell me how to make the loading of the CIS site and for the CIS?
The site has two versions of the site, Russian and English, I want that if a person enters from the CIS IP, then the Russian version of the site opens for him, and if from abroad, then the English version of the site
Answer the question
In order to leave comments, you need to log in
Isn't it embarrassing that some users in the CIS outside the Russian Federation know Russian better?
It is better to determine by browser language: How to determine the user's browser language?
And so: https://www.php.net/manual/en/book.geoip.php
Try this
$(slides).each(function(idx, elem) {
if($(elem).hasClass('slide__current')) {
curretSlide = $(elem);
index = idx;
}
})
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question