function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rahul.SharmaRahul.Sharma 

Deploy translation picklist from Sandbox to Production using ANT?

I have translated some object field's picklist values in various languages (like Spanish, Portuguese etc.) using Translation Workbench in Sandbox. Now I want to migrate these translations to Production. How can I deploy these changes to Sandbox using ANT migration tool? 
Best Answer chosen by Rahul.Sharma
NagendraNagendra (Salesforce Developers) 
Hi Rahul,

Following Salesforce https://help.salesforce.com/articleView?id=000170698&type=1 article says
In order for translated terms to be migrated via changeset, both the language translation and the component being translated must be included in the changeset. For example, if you are migrating a custom field label translation, the custom field must be in the change set.
When the translated components cannot be included in a changeset (such as custom picklist values for a standard field), these items must be translated using a translation export/import.

Here a sample file for deploying Translations (German) of some Standard and Custom Objects with all its fields:
<types>
    <members>Account</members>
    <members>Contact</members>
    <members>Case</members>
    <members>CustomerRequest__c</members>
    <name>CustomObject</name>
</types>

<types>
    <members>Account-de</members>
    <members>Contact-de</members>
    <members>Case-de</members>
    <members>CustomerRequest__c-de</members>
    <name>CustomObjectTranslation</name>
</types>

<version>34.0</version>
Here a sample file for deploying Translations (German) of Custom Applications, Custom Labels, Custom Buttons and Custom Tabs:
<types>
   <members>*</members>
   <name>CustomApplication</name>
</types>

<types>
   <members>*</members>
   <name>CustomLabels</name>
</types>

<types>
   <members>*</members>
   <name>CustomPageWebLink</name>
</types>

<types>
   <members>*</members>
   <name>CustomTab</name>
</types>

<types>
   <members>*</members>
    <name>Translations</name>
</types>
Hope this helps.

Kindly mark this as solved if it's resolved.

Thanks,
Nagendra