UserLocale (microsoft-windows-UserLocale) UserLocale (microsoft-windows-international-core-winpe-userlocale)

UserLocale 指定用于对 Windows 安装中的日期、时间、货币和数字进行格式设置的每个用户的设置。UserLocale specifies the per-user settings that are used for formatting dates, times, currency, and numbers in a Windows installation.

此设置在 Windows 安装程序和 Windows 部署服务期间使用。This setting is used during Windows Setup and Windows Deployment Services.

用户可以使用 " 区域和语言选项 " 控制面板在运行的 Windows 安装上更改此值。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_localeUser_locale

指定 Windows 安装程序或 Windows 部署服务期间要使用的用户区域设置。Specifies the user locale to use during Windows Setup or Windows Deployment Services.

User_locale的字符串基于 RFC 3066 的语言标记约定。使用模式语言-区域,其中language是语言代码,而区域是国家或地区标识符 (例如, en-usfres) 的。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--核心-winpe-- | UserLocalemicrosoft-windows-international-core-winpe-- | UserLocale

有效的配置阶段Valid Configuration Passes

windowsPEwindowsPE

适用于Applies To

有关此组件支持的 Windows 版本和体系结构的列表,请参阅 microsoft-Windows-国际核心-winpe--For a list of the Windows editions and architectures that this component supports, see microsoft-windows-international-core-winpe--.

XML 示例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>

可用语言包Available Language Packs

microsoft-windows--核心-winpe--microsoft-windows-international-core-winpe--