Reply To: Multilingual website – different cart URL-s problem

Sorry for my dumb questions but i am not very good at scripting.

So, the full code for three languages should be this:

var url = window.location.href.split(“/”);
if(url[4] == "ge") window.location.href = "";
if(url[4] == "ru") window.location.href = "";
else if window.location.href = "";

Is it correct for the all three languages (english, german and russian) or is there a mistake? If there is a mistake, would you be so nice and correct it?

Thanks in advance,