[SalesForce] Picklist value translation

I have am email body I'm generating in APEX and I want it to include the translated value of a picklist.
How can I get the translated value in APEX?

Best Answer

You can use a SOQL function toLabel() to get translated picklist values:

SELECT toLabel(your_field__c) FROM YourObject__c 

Here is the official documentation:

A client application can have results from a query returned that are translated into the user’s language, using toLabel()

Related Topic