Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

userLanguage property

Retrieves the operating system's natural language setting.

Syntax

JavaScript

p = object.userLanguage

 

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:
© 2015 Microsoft