I have a Visualforce email template which uses the Custom Labels. For all the custom labels there are translations. I determine the language of the email based on the language code on the contact:
<messaging:emailTemplate subject="{!$Label.Email_Subject}"
recipientType="Contact"
relatedToType="Object__c"
language="{!recipient.Prefered_Language_Code__c}">
When I test the Visualforce email template in setup using the button Sent Test and Verify Merge Fields, the email shows both, in the setup and in received test email correctly, in the right language. However, when the email is triggered by the Process Builder, then it has received in English (default language). Any thought what could be wrong? Could the language depend on anything else than just the specified field Prefered_Language_Code__c on Contact?
2 Antworten
Hey Martin
I am wondering if this link could help You in this situation.
https://developer.financialforce.com/customizations/translatable-email-templates/
Please close this ticket if You get the answer.
Thanx
(T.S)