userLanguage property
Retrieves the operating system's natural language setting.
Syntax
| JavaScript | |
|---|
Property values
Type: String
any of the possible return values listed in the Language Codes.
Remarks
This property reflects the setting in the "Your locale (location)" box in the Regional Options of Control Panel—for example, "English (United States).
See also
- clientInformation
- navigator
- How to's
- How to manage language and region (Windows Store apps using JavaScript and HTML)
- Reference
- browserLanguage
- systemLanguage
Show: