MBAE 더 이상 사용하지 않을 것에 대한 경고
Important
Windows 10 버전 1803부터 MBAE 앱 환경은 MO UWP 앱으로 대체됩니다. MO UWP 앱에 대한 자세한 내용은 UWP 모바일 광대역 앱을 참조 하세요.
로캘 요소는 서비스 메타데이터 패키지의 로캘을 지정합니다. 서비스 메타데이터 패키지는 단일 또는 여러 로캘을 지정할 수 있습니다. 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 |
true(1) 또는 false(0)여야 합니다. 기본 특성이 true로 설정된 경우 운영 체제는 이 디바이스 메타데이터 패키지를 컴퓨터의 현재 로캘에 대한 기본값으로 사용합니다. |
Child elements
자식 요소가 없습니다.
Parent elements
| Element | Description |
|---|---|
The MetadataKey element specifies the attributes of the device metadata package. 여기에는 다음이 포함되었습니다.
|
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
로캘 요소는 언어 -<지역>(예: EN-US) 또는 <언어>(예: EN)일 수 있습니다<.> 언어가 설정된 경우 패키지는 모든 <언어> 로캘에 적용됩니다.<> 예를 들어 EN은 EN-US 및 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). 그렇지 않으면 운영 체제가 서비스에 대한 메타데이터 패키지를 임의로 선택합니다.
운영 체제에서 표시할 서비스 메타데이터 패키지를 선택하면 다음과 같은 방법으로 로캘 요소를 사용합니다.
운영 체제는 시스템 기본 설정 언어 및 지역을 검색합니다. 일반적으로 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.
로캘 요소가 필요합니다.