UserLocale

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista

UserLocale specifies the per-user settings used for formatting dates, times, currency, and numbers in a Windows® installation.

Users can change this value on a running Windows installation by using the Administrative pane in the Region and Language Control Panel.

For a list of supported languages, locales, and identifiers, see Available Language Packs.

Values

User_locale

Specifies the locale of the end user.

The User_locale string is based on the language-tagging conventions of RFC 3066. The pattern language-region is used, where language is a language code and region is a country or region identifier (for example, en-US, fr-FR, or es-ES).

This value is not case-sensitive.

This string type supports empty elements.

Parent Hierarchy

Microsoft-Windows-International-Core | UserLocale

Valid Configuration Passes

oobeSystem

specialize

Applies To

For a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-International-Core.

XML Example

The following example shows how to set the user locale to Japanese (Japan).

<InputLocale>0411:00000411</InputLocale> 
<SystemLocale>ja-JP</SystemLocale> 
<UILanguage>ja-JP</UILanguage> 
<UserLocale>ja-JP</UserLocale>

See Also

Concepts

Microsoft-Windows-International-Core

Other Resources

Available Language Packs