Javascript Reference
Categories: navigator

javascript navigator userLanguage

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

Read-only  

The default written language of the browser, based on the operating system user profile setting (if one exists). The property defaults to the browserLanguage property.

 
Example
 
var userLangCode = navigator.userLanguage;
 
Value

Case-insensitive language code as a string.

 
Default

Browser default.


Powered by Linode.