Culture Simple Type Simple Type

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>

Patterns

The Culture simple type is a string that is restricted by the following pattern:

  • [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 region. For example, en (for English), en-US (for English US), and zh-CHS (for Chinese simplified).

See Also

SystemDefinitionModel Schema Simple Types

Send comments about this topic to Microsoft

Build date: 9/5/2007