2

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

1
  • 4
    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" Oct 21, 2019 at 6:28

1 Answer 1

13

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 .