Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Avviso di deprecazione di MBAE
Important
A partire da Windows 10, versione 1803, l'esperienza dell'app MBAE viene sostituita da un'app UWP MO. Per ulteriori informazioni sulle app MO UWP, vedi app a banda larga mobile UWP.
L'elemento Locale specifica le impostazioni locali del pacchetto di metadati del servizio. Un pacchetto di metadati del servizio può specificare impostazioni locali singole o multiple. 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 |
Deve essere true (1) o false (0). Se l'attributo predefinito è impostato su true, il sistema operativo usa questo pacchetto di metadati del dispositivo come impostazione predefinita per le impostazioni locali correnti del computer. |
Child elements
Non sono presenti elementi figli.
Parent elements
| Element | Description |
|---|---|
The MetadataKey element specifies the attributes of the device metadata package. Questi includono:
|
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
L'elemento Locale può essere <Language>-<Region> (ad esempio EN-US) o <Language> (ad esempio EN). Se la <lingua è impostata> , il pacchetto si applica a tutte le <impostazioni locali lingua> . Ad esempio, EN si applica a EN-US e 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). In caso contrario, il sistema operativo seleziona in modo casuale un pacchetto di metadati per il servizio.
Quando il sistema operativo seleziona un pacchetto di metadati del servizio da visualizzare, usa l'elemento Locale nel modo seguente:
Il sistema operativo recupera la lingua e l'area preferite del sistema. Questa configurazione viene in genere configurata durante l'installazione di 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.
L'elemento Locale è obbligatorio.