2

I have created a Custom label with its translation on the setup: on

I have also activated German language on the Setup->Translation Language Settings enter image description here

However, when I retrieve it via Metadata API, why is the German translation not available? enter image description here

I have followed instructions from Retrieve custom translations for a custom label via the metadata API and edited my package.xml (manifest/package.xml) with:

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

But I still cannot retrieve the German translation. Can someone please explain, what am I missing?

EDIT: The German translation file (de.translation-meta.xml) is somehow not retrieved. enter image description here

1 Answer 1

1

Similar post: Retrieve custom translations for a custom label via the metadata API

When I use SFDX, I got it successfully by this command

sfdx force:source:retrieve -m "CustomLabel, Translations"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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