Nota
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Advertencia de desuso de MBAE
Important
A partir de Windows 10, versión 1803, la experiencia de la aplicación MBAE se reemplaza por una aplicación para UWP mo. Para obtener más información sobre las aplicaciones para UWP mo, consulta Aplicaciones de banda ancha móvil para UWP.
El elemento Locale especifica la configuración regional del paquete de metadatos del servicio. Un paquete de metadatos de servicio puede especificar una o varias configuraciones regionales. To use multiple locales, you must set the MultipleLocale element to true.
Usage
<Locale
default = "xs:boolean">
text
</Locale>
Attributes
Attribute | Type | Required | Description |
---|---|---|---|
default |
xs:boolean |
Yes |
Debe ser true (1) o false (0). Si el atributo predeterminado se establece en true, el sistema operativo usa este paquete de metadatos de dispositivo como valor predeterminado para la configuración regional actual del equipo. |
Child elements
No hay elementos secundarios.
Parent elements
Element | Description |
---|---|
The MetadataKey element specifies the attributes of the device metadata package. Estos incluyen lo siguiente:
|
XSD
<xs:element name="Locale" type="tns:LocaleType" />
<xs:complexType name="LocaleType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="default" type="xs:boolean" use="required" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
Remarks
El elemento Locale puede ser <Language>-<Region> (por ejemplo, EN-US) o <Language> (por ejemplo, EN). Si se establece el <idioma> , el paquete se aplica a todas las <configuraciones regionales de idioma> . Por ejemplo, EN se aplica a EN-US y EN-BR.
To specify the metadata package as the default for the current locale of the computer, set the default attribute to true (1).
Note
Only one metadata package for a service should set the default attribute to true (1). De lo contrario, el sistema operativo selecciona aleatoriamente un paquete de metadatos para el servicio.
Cuando el sistema operativo selecciona un paquete de metadatos de servicio que se va a mostrar, usa el elemento Configuración regional de la siguiente manera:
El sistema operativo recupera el idioma y la región preferidos del sistema. Normalmente, esto se configura durante el programa de instalación de Windows.
If the Locale element of a service metadata package matches the system preferred language and region, the operating system selects the package for the service and uses the icon and ServiceProvider value (from ServiceInfo.xml) that matches that language and region.
If the services metadata package does not have a Locale element that matches the system preferred language, the operating system will apply the language neutral icon and ServiceProvider value (from ServiceInfo.xml) that is stored in the root of the service metadata package.
Se requiere el elemento Locale.