Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Warnung vor veraltetem MBAE
Important
Ab Windows 10, Version 1803, wird die MBAE-App durch eine MO-UWP-App ersetzt. Weitere Informationen zu MO-UWP-Apps finden Sie unter UWP-Mobilbreitband-Apps.
Das Locale-Element gibt das Gebietsschema des Dienstmetadatenpakets an. Ein Dienstmetadatenpaket kann einzelne oder mehrere Gebietsschemas angeben. 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 |
Muss wahr (1) oder falsch (0) sein. Wenn das Standardattribute auf "true" festgelegt ist, verwendet das Betriebssystem dieses Gerätemetadatenpaket als Standard für das aktuelle Gebietsschema des Computers. |
Child elements
Es gibt keine untergeordneten Elemente.
Parent elements
| Element | Description |
|---|---|
The MetadataKey element specifies the attributes of the device metadata package. Dazu gehören folgende:
|
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
Das Gebietsschemaelement kannSprachenregion<>->(z. B. EN-US) oder Sprache (z. B. EN) sein<.>< Wenn die <Sprache> festgelegt ist, gilt das Paket für alle <Sprachgebietsschemas> . Beispielsweise gilt EN für EN-US und 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). Andernfalls wählt das Betriebssystem zufällig ein Metadatenpaket für den Dienst aus.
Wenn das Betriebssystem ein anzuzeigenes Dienstmetadatenpaket auswählt, verwendet es das Locale-Element wie folgt:
Das Betriebssystem ruft die bevorzugte Sprache und Region des Systems ab. Dies ist in der Regel während des Windows-Setups konfiguriert.
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.
Das Locale-Element ist erforderlich.