Navigator.browserLanguage (Property)

The national language variant of the browser.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:String primitive
JavaScript syntax:IEnavigator.browserLanguage

This is a value you can check to ensure the user is operating a suitably configured browser for your pages. Nationality settings can affect many aspects of the script behavior such as:

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

This property is available in MSIE only. For scripts running in the Netscape browser, you should use the Navigator.language property.

See also:Language codes, Navigator.language

Property attributes:

ReadOnly