1

I can successfully retrieve custom labels from my SOAP call to Salesforce Metadata API. But what I need is the local translations which overrides my labels.

  1. Are these translations are packaged or unpackaged (do i have to search them in my Managed package)
  2. Which metadata type should i retrieve ?

    • Translations?
    • CustomLabelTranslation?
    • CustomObjectTranslation?

Here is a picture of my goal:

What i'm trying to retrieve

Update

I'm writing Native iOS app which is using Salesforce SDK in it. I can successfully talk with Salesforce Metadata API. I just dont know which metadata object should retrieve in my RetrieveRequest,

2

I believe it's under the folders objectTranslations and translations and using the following types:

http://www.salesforce.com/us/developer/docs/api_meta/Content/meta_translations.htm http://www.salesforce.com/us/developer/docs/api_meta/Content/meta_customobjecttranslation.htm

If you include the following in your package.xml file used in the retrieve call you should fetch them:

<types>
    <members>*</members>
    <name>CustomObjectTranslation</name>
</types>
<types>
    <members>*</members>
    <name>Translations</name>
</types>
  • Thanks. I've managed to fetch translations with your answer but with minimal change. See code down below. <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="soap.sforce.com/2006/04/metadata"> <types> <members>*</members> <name>Translations</name> </types> <types> <members>*</members> <name>CustomLabels</name> </types> <version>30.0</version> </Package> – Onur Var Jun 27 '14 at 6:40

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.