A simple script that performs a redirect based on the set language of the browser used.
<script type="text/javascript"> var langcodes=new Array("en", "de", "default") var langredirects=new Array("/englischeseite.html", "/deutscheseite.html","/englischeseite.htmln") var languageinfo=navigator.language? navigator.language : navigator.userLanguage var gotodefault=1 function redirectpage(dest){ if (window.location.replace) window.location.replace(dest) else window.location=dest } for (i=0;i<langcodes.length-1;i++){ if (languageinfo.substr(0,2)==langcodes[i]){ redirectpage(langredirects[i]) gotodefault=0 break } } if (gotodefault) redirectpage(langredirects[langcodes.length-1]) </script>