---
schema_version: "1"
id: c261d6bc611657555b961110612a4dfceed37f8232e96244e59ac24a68699d8c
title: Add a Global Label for the UIPluginV2 contract in Modeler
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/add_a_global_label_for_uipluginv2.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.add_a_global_label_for_uipluginv2.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 5630ae940b1cdf5e0438ebc4af7f439fac7fcd199183ecbfc8471295985ae24b
description: Add a global label for the UIPluginV2 contract in Visual Studio Code-based Modeler to localize the contract in different languages.
products:
  - Consumer Goods
release: "264"
---
# Add a Global Label for the UIPluginV2 contract in Modeler

Add a global label for the UIPluginV2 contract in Visual Studio Code-based Modeler to localize the contract in different languages.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Professional</strong>, <strong>Enterprise</strong>, and <strong>Unlimited</strong> Editions that have Consumer Goods Cloud enabled</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d33365e63">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d33365e63 ">To add a global label for the UIPluginV2 contract:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d33365e63 ">CG Cloud Developer, Admin</td>

          </tr>
        </tbody>
      </table>

1. In your Modeler workspace, go to the **$workspace/src/Locale** folder.
2. Add the label to the Global Labels.globallabel.xml contract.
    
    ```
    <Label id="CardReportingCompetitorRate_Title" text="Competitor Rate" translationStatus="1"/>
    ```
3. To populate the new label to all locales, run the CLI command in Visual Studio Code-based Modeler.
    
    ```
    sf modeler workspace refreshLocale
    ```
4. Save your changes.