javascript navigator language
@March 15, 2008, 1:22 a.m.
language | Firefox/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. |
Permanent URL:
http://javascript.gakaa.com/navigator-language.aspx
Powered by Linode.