Share via


Culture simple type [SDM]

 
Platform SDK: System Definition Model Overview

Culture Simple Type

Note: This documentation is preliminary and is subject to change.

Defines the value used to specify a language for an .sdm file.

<xs:simpleType name="Culture">
    <xs:restriction
        base="string"
    >
        <xs:pattern
            value="[a-z]{2,3}(-[A-Z]{2,3}(-[a-zA-Z]{4})?)?"
         />
    </xs:restriction>
</xs:simpleType>
Culture
Defines the type of value that is used to specify a language for an .sdm file.

Patterns

The following pattern is defined by the Culture simple type:

[a-z]{2,3}(-[A-Z]{2,3}(-[a-zA-Z]{4})?)?

A string that is two or three lowercase letters defining a language, and then two, three, or four uppercase and lowercase letters defining a country. For example, en (for English), en-US (for English US), and zh-CHS (for Chinease simplified).

See Also

SystemDefinitionModel Schema Simple Types

  
  Last updated: June 2005  |  What did you think of this topic?  |  Order a Platform SDK CD
  © Microsoft Corporation. All rights reserved. Terms of use.