The <locale> Element

The <locale> element contains two mandatory sub-elements (<description> and <annotation>) and one optional sub-element <comments>, which are used to describe the code.

To be included during generation of the code table artefacts, each <locale> element must specify a language (and optional country) attribute that corresponds to a supported locale. The SERVER_LOCALE_LIST environment variable is a comma separated list of locales that are supported, where the locale is either simply of the form language or language_country as shown in this example:

SERVER_LOCALE_LIST=en, en_US, en_GB

The locale element has the following attributes:

Table 1. Attributes of the locale Element

Attribute Name

Required

Default

Description

language

Yes

None

Specifies a language that corresponds to a supported locale.

country

No

None

Specifies a country that corresponds to a supported locale and language.

sort_order

No

None

Specifies the order in which the codes in a code table will be displayed in the drop-down list on an edit page in the client.