Answer the question
In order to leave comments, you need to log in
Yii2 how to connect geoip + multilingual?
Is there some component that will allow me to set the user's language via GEO-IP?
the site will be in English, Chinese and Russian
so that users in Russia, Ukraine, Kazakhstan will default to Russian and so on ...
or can you advise something?
Answer the question
In order to leave comments, you need to log in
I would advise giving the user a choice of language when entering the page.
Forcibly determining the user's language by his IP, IMHO, is not the best idea.
A lot of words, little code:
var x = document.getElementsByClassName('pay');
for(var i=0; i< x.length; i++){
// замена в строке
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question