Translation of Picklist Values

Picklist Value translations should be committed and deployed differently depending on the type of the picklist:

For standard picklist fields (e.g. Account Rating):

  • Select the StandardValueSetTranslation and StandardValueSet metadata types.

For custom picklist fields:

  • Select the CustomObjectTranslation and CustomField metadata types.

For custom picklist fields with global value set:

  • Select the GlobalValueSetTranslation and GlobalValueSet metadata types.
 

Note: For the global value sets that belong to a managed package, you might encounter “[GlobalValueSetTranslation <field name>] Required field is missing: valueTranslation” error. This is a limitation of the Metadata API and you can reproduce the same issue with workbench. You can use the sample package.xml below to test it. Contact Salesforce Support to get more information.

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>copado__Compliance_Severity</members>
<name>GlobalValueSet</name>
</types>
<types>
<members>Compliance_Severity-es</members>
<name>GlobalValueSetTranslation</name>
</types>
<version>48.0</version>
</Package>


How did we do?