Code:<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
if (navigator.appName == 'Netscape')
var language = navigator.language;
else
var language = navigator.browserLanguage;
if (language.indexOf('en') > -1) document.location.href = 'english.html';
else if (language.indexOf('de') > -1) document.location.href = 'german.html';
else if (language.indexOf('it') > -1) document.location.href = 'italian.html';
else
document.location.href = 'defaultpage.html';
// End -->
</script>
If the script doesn't work across browsers that may be due to different JavaScript implementations, and it may not be possible to read local language settings with JavaScript in some browsers.
I got it, thanks dude, this will be a good solution then, cause the company i work for don't want to use PHP, they use ASP, and this sucks, the problem is that i'm good programming in Asp.net, i can read, but not code.