Navigator.language (Property)

The national language version supported by the browser.


JavaScript - 1.2
Netscape - 4.0
Opera - 5.0
Property/method value type:String primitive
JavaScript syntax:-navigator.language

The value stored in this property will be the international standard code for languages. This may not be the same as the values specified in the ISO 3166 standard but it should conform to the ISO 639 standard, which allocates two and three letter codes to countries.

Refer to the Language codes topic for a list of the available codes.


See also:Element.lang, Language codes, Navigator.browserLanguage, Navigator.systemLanguage, Navigator.userLanguage

Property attributes: