Loading
Visual Studio Code Based Modeler for Consumer Goods Cloud
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Locale Contract Definition

          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.

          Required Editions

          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:

          • 0 - Initial
          • 1 - Translation required
          • 6 - Review required
          • 7 - Translated
          • 9 - Approved
          String Yes
           
          Loading
          Salesforce Help | Article