Language Detection and Redirect URL

@aykut that should work but as I said, you don’t need Jquery to get this to run if you copy the new code that I wrote.

Unless I’m mistaken, Jquery is included in webflow projects by default, so you shouldnt need to do anything else.

<script type='text/javascript'>
var language = window.navigator.language;
if(language == 'en-US' || language == 'en-AU' || language == 'en-CA')
{
window.location.href = 'www.hasaluminyum.com/en'
}

else if(language == 'de' || language == 'de-AT' || language == 'de-LI' || language == 'de-CH' || language      == 'de-LU'){
window.location.href = 'www.hasaluminyum.com/de'
}

else if(language == 'tr'){
window.location.href = 'www.hasaluminyum.com/tr'
}
</script>

Copy my code above. It will work without Jquery.