I have this script to get the language of the browser and open the specific index localized
var language = window.navigator.systemLanguage;
if (language == "it-IT" || language == "it-it" || language == "ita-IT" || language == "it-ITA" || language == "it" ||language == "IT" ||language == "ita" ||language == "italiano" || language == "italian")
{
location.href = "index_it.html";
}
else{
location.href = "index_esp.html";
}
unfortunately works only in Internet Explore but in Firefox and Chrome switch always on index_esp.html
also with Italian Browsers
How to get the right language String ID? (If is this the cause of the issue)