2

We have a very large number of translations for custom labels. could any one guide me in how to create package.xml for deploying translations into new sandbox using Ant.

I retrieved translation data , but while deployment please guide me the syntax of package.xml.

Below is the package.xml, I have created for retrieving.

    <?xml version="1.0" encoding="UTF-8"?>
    <Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
      <members>*</members>
      <name>CustomLabels</name>
    </types>
   <types>
      <members>*</members>
      <name>Translations</name>
   </types>
  <version>36.0</version>
  </Package>
2

This is how it happens:

<?xml version="1.0" encoding="UTF-8"?>
    <Package xmlns="http://soap.sforce.com/2006/04/metadata">
      <types>
         <members>en_US</members>
         <name>Translations</name>
      </types>
     <version>36.0</version>
  </Package>

Label translations have name of the language. You would be getting it like en_US.translation.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.