userLanguage property

Retrieves the operating system's natural language setting.

Syntax

HRESULT value = object.get_userLanguage(* p);

Property values

Type: BSTR

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

How to's

How to manage language and region (Windows Store apps using JavaScript and HTML)

Reference

IOmNavigator::browserLanguage

IOmNavigator::systemLanguage