Loading
Feature Disruption - Service Cloud VoiceRead More
Feature degradation | Gmail Email delivery failureRead More
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
          Add a Global Label in Locale Contract

          Add a Global Label in Locale Contract

          The project team maintains and modifies global labels. Only one Global Labels contract is maintained in VS Code based Modeler. You cannot add a new Global Labels contract or delete an existing one. 

          Required Editions

          Available in: Enterprise, Performance, and Unlimited Editions
          User Permissions Needed
          To create a locale contract Customizer, Admin
          1. Open Global Labels.globallabel.xml in your $workspace$/src/Locale folder.
          2. Add a label and specify its ID and text attributes in this format.
            The translationStatus attribute is added or updated after refreshing the locale contract.

            <Label id="" text="" translationStatus="" />

            For example. <Label id="Report_CallSummary_Facings" text="Facings" translationStatus="1" /> after translating the custom or updated global label strings, add the translated strings manually to the appropriate <language>.locale.xml files and update the translation status to 7 in Global Labels.globallabel.xml.

          3. Refresh the locale contract. Run this command at the command prompt or in the Terminal window launched from your $workspace/src/Locale directory:sf modeler workspace refreshLocale
            The new global label entry is added to all the locale contracts in the Locale directory.
           
          Loading
          Salesforce Help | Article