Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Ostrzeżenie o deprecjacji programu MBAE
Important
Począwszy od systemu Windows 10 w wersji 1803, środowisko aplikacji MBAE jest zastępowane przez aplikację MO PLATFORMY UWP. Aby uzyskać więcej informacji na temat aplikacji MO UWP, zobacz aplikacje mobilne szerokopasmowe UWP.
Element Ustawienia regionalne określa ustawienia regionalne pakietu metadanych usługi. Pakiet metadanych usługi może określać pojedyncze lub wiele ustawień regionalnych. To use multiple locales, you must set the MultipleLocale element to true.
Usage
<Locale
default = "xs:boolean">
text
</Locale>
Attributes
| Attribute | Typ | Required | Description |
|---|---|---|---|
default |
xs:boolean |
Yes |
Musi mieć wartość true (1) lub false (0). Jeśli domyślny atrybut ma wartość true, system operacyjny używa tego pakietu metadanych urządzenia jako domyślnego dla bieżących ustawień regionalnych komputera. |
Child elements
Brak elementów podrzędnych.
Parent elements
| Element | Description |
|---|---|
The MetadataKey element specifies the attributes of the device metadata package. Należą do nich następujące elementy:
|
język 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
Element ustawień regionalnych może byćregionem> języka<- (takim jak EN-US) lub <językiem> (takim jak EN).>< <Jeśli język> jest ustawiony, pakiet ma zastosowanie do wszystkich <ustawień regionalnych języka>. Na przykład en dotyczy EN-US i 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). W przeciwnym razie system operacyjny losowo wybiera pakiet metadanych dla usługi.
Gdy system operacyjny wybierze pakiet metadanych usługi do wyświetlenia, używa elementu Ustawienia regionalne w następujący sposób:
System operacyjny pobiera preferowany język i region systemu. Jest to zwykle konfigurowane podczas instalacji systemu 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.
Wymagany jest element Ustawień regionalnych.