Javascript Reference
Categories: navigator

javascript navigator language

@March 15, 2008, 1:22 a.m.
languageFirefox/Netscape/NN 4 IE n/a Chrome/Safari/DOM n/a  

Read-only  

Indicates the written language for which the browser version was created. The language is specified in the ISO 639 language code scheme (such as en-us). Internet Explorer provides this information via the navigator.browserLanguage property.

 
Example
 
var mainLang = navigator.language;
 
Value

Case-insensitive language code as a string.

 
Default

Browser default.


Powered by Linode.