Loading

Package upgrade breaks translation for global value set

Veröffentlichungsdatum: Aug 18, 2026
Beschreibung

After upgrading a managed package that contains a Global Value Set (GVS) with translated picklist values, a translation value that a subscriber org admin sets to blank (null) in the Translation Workbench may get overridden by the package's translation value instead of staying blank.

Steps to Reproduce

Create a managed package with translations for the global value set:

  1. On a Developer org, create a Global Value Set.
  2. Add a few picklist values to the GVS.
  3. Create a Custom field on any Standard/Custom object using the Global Value Set.
  4. Add the GVS to a package and upload the package.
  5. Install the package on a subscriber org.

After installing the package in the subscriber org, upgrade the package to validate the behavior by following the steps below:

  1. Navigate to: Setup → Translation Workbench → Translate.
  2. Select:
    1. Language: Select the translated language used when creating the package
    2. Component: Global Value Set
  3. Locate:
    1. Global Value Set
    2. Value: Picklist value
  4. Update the translation label to: package translation value or custom translation value → Save.
  5. Upgrade the package (same or higher version).
  6. Update the translation for that same picklist value to: Blank → Save.

The value is enforced with the package translation value rather than staying Blank as set in the previous step.

Lösung

This article explains how to keep a Global Value Set translation blank after a package upgrade, since the first attempt to set it to blank gets silently overridden by the package's own translation value.

Workaround

If there's a requirement to set the translation value to blank (null), update the translation value to null again after the package upgrade.

It's been observed that the override occurs only on the first null update following the upgrade — subsequent updates to set the value to blank are retained as expected.

Nummer des Knowledge-Artikels

005321484

 
Laden
Salesforce Help | Article