Print this page

How to retrieve Custom Label translations via ANT/IDE

Knowledge Article Number 000186630
Description Some of the Users wants to retrieve Custom Label Translations using ANT or IDE (i.e. using Metadata API).  This Article describes how to do the same.
Resolution
You can retrieve Custom Label Translations by using "Translations" Tag in your Package.xml which is being used in ANT or IDE.
 
The Package.xml should look like: 
 
<?xml version="1.0" encoding="UTF-8"?> 
<Package xmlns="http://soap.sforce.com/2006/04/metadata"> 
<types> 
<members>*</members> 
<name>Translations</name> 
</types> 
<version>27.0</version> 
</Package> 
 
When you do a retrieve, you will be able to see the Translations under the "translations" folder. 

You can get the list of all the translations that are supported within Salesforce.com at: 

http://www.salesforce.com/us/developer/docs/api_meta/Content/meta_translations.htm?SearchType#translation_languages




promote demote