how ot find the language of the user through the browser code example
Example 1: react chrome get language
<script type="text/javascript">
var userLang = navigator.language || navigator.userLanguage;
alert ("The language is: " + userLang);
</script>
Example 2: check browser locale javascript
check locale using js