The <locale> Element

The <locale> element is optional and is used to add localisable display names to represent the codetable table name when the <displaynames> element is present. When displaying the <codetable> name attribute on the client, the name that contains the locale for the current user is displayed. However, if the current user's locale does not match any of the locales specified within the <locale> element, then the <codetable> name attribute is displayed.

The locale element has the following attributes:

Table 1. Attributes of the locale Element

Attribute Name

Required

Default

Description

language

Yes

None

Specifies the language portion of the locale for the name element.

country

No

None

Specifies the country portion of the local for the name element.