Add a global label for the UIPluginV2 contract in Visual Studio Code-based Modeler to
localize the contract in different languages.
Required Editions
| Available in: Professional, Enterprise, and Unlimited Editions
that have Consumer Goods Cloud enabled |
| User Permissions Needed |
| To add a global label for the UIPluginV2 contract: |
CG Cloud Developer, Admin |
-
In your Modeler workspace, go to the $workspace/src/Locale
folder.
-
Add the label to the Global Labels.globallabel.xml contract.
<Label id="CardReportingCompetitorRate_Title" text="Competitor Rate" translationStatus="1"/>
-
To populate the new label to all locales, run the CLI command in Visual Studio Code-based
Modeler.
sf modeler workspace refreshLocale
-
Save your changes.