共用方式為


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 that are used for formatting dates, times, currency, and numbers in a Windows® installation.

This setting is used during Windows Setup and Windows Deployment Services.

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

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

Values

User_locale

Specifies the user locale to use during Windows Setup or Windows Deployment Services.

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-WinPE | UserLocale

Valid Configuration Passes

windowsPE

Applies To

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

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-WinPE

Other Resources

Available Language Packs