Javascript Reference
Categories: navigator

javascript navigator browserLanguage

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

Read-only  

Provides the default written language of the browser. The Navigator equivalent is the navigator.language property.

 
Example
 
var browLangCode = navigator.browserLanguage;
 
Value

Case-insensitive language code as a string.

 
Default

Browser default.


Powered by Linode.