userLanguage

HTML (DHTML)

userLanguage Property

Internet Development Index

Retrieves the operating system's natural language setting.

Syntax

[ sLanguage = ] object.userLanguage

Possible Values

sLanguageString that receives any of the possible return values listed in the Language Codes.

The property is read-only. The property has no default value.

Remarks

This property reflects the setting in the "Your locale (location)" box in the Regional Options of Control Panel—for example, "English (United States).

Standards Information

There is no public standard that applies to this property.

Applies To

clientInformation, navigator

See Also

browserLanguage, systemLanguage