JavaScript Reference/Javascript Properties/language navigator
"language" Example
<html>
<body>
<button onclick="alert(navigator.language);">Language</button>
</body>
</html>
"language" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |navigator |
+----------------+--------------------------------------------------------------+
"language" Syntax and Note
Note:
Read-only property.
Returns the system"s default language.
Syntax:
objectName.language