0

Can anyone suggest me the SOQL which can export custom labels in Salesforce along with its translated texts?

  • 3
    Labels cannot be queried via normal SOQL, you have to use Metadata to achieve this if you are writing this in APEX: github.com/financialforcedev/apex-mdapi. Or if you are in Developer console just check the option "Use Tooling API" – Nagendra Singh Oct 21 '19 at 6:28
2

You can use SOQL Tooling api - can test from developer console:

enter image description here enter image description here

Also in older orgs you have objects ExternalString and ExternalStringLocalization which will give info on custom labels and also translated labels.

enter image description here enter image description here

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