<script type=”text/javascript”>
var userLang = document.documentElement.lang;
console.log (“The language is: ” + userLang);
</script>
<script type=”text/javascript”>
var userLang = document.documentElement.lang;
console.log (“The language is: ” + userLang);
</script>