JavaScript Reference/Javascript Properties/browserLanguage
"browserLanguage" Example
<html>
<body>
<script language="JavaScript">
var m = navigator.browserLanguage;
alert("The language of your browser is "+"""+m+""")
</script>
</body>
</html>
"browserLanguage" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |clientInformation navigator |
+----------------+--------------------------------------------------------------+
"browserLanguage" Syntax and Note
Note:
Read-only property.
Returns the browser language code.
Syntax:
objectName.browserLanguage