You are here:
Locale Contract Definition
The locale contract in the src/Locale folder consists of simple label id-to-text mappings. The label definitions and translations in the locale contract are segregated into multiple label sections.

Use more general search terms.
Select fewer filters to broaden your search.
You are here:
The locale contract in the src/Locale folder consists of simple label id-to-text mappings. The label definitions and translations in the locale contract are segregated into multiple label sections.
| Available in: Enterprise, Performance, and Unlimited Editions |
The structure of the label entries in the locale contract is:
<Label id="usernameLabelId"text="Username" translationStatus="1"/>
For example,
<Label id="CustomerTitleId" text="Customers" translationStatus="7" />
The Label node attributes are:
| Attribute | Description | Type | Required |
|---|---|---|---|
id
|
Specifies the name of the label. | String | Yes |
text
|
Defines the text in the language specified by the user. | String | Yes |
translationStatus
|
Specifies the translation status of the labels. The supported values and indicative translation status are:
|
String | Yes |

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.