You need to sign in to do that
Don't have an account?

Email Template not showing translations when fired from workflow
we have to languages in our Org English and Dutch. While testing out the email in classic email templates the translations are fine for both dutch and english contacts but when tested the same email template by workflow I am always getting english language even though my contact's preferred language is dutch. Please help me out
<messaging:emailTemplate subject="{!$Label.Art_Subject}" recipientType="Contact" relatedToType="Order" language="{!recipient.Language__c}">
<messaging:htmlEmailBody >
<!--<span style="display: none !important; visibility: hidden; opacity: 0; color: transparent; height: 0; width: 0;">{!$Label.Art_Preheader}</span>-->
<c:Art OId="{!relatedTo.Id}"/>
</messaging:htmlEmailBody>
</messaging:emailTemplate>
<messaging:emailTemplate subject="{!$Label.Art_Subject}" recipientType="Contact" relatedToType="Order" language="{!recipient.Language__c}">
<messaging:htmlEmailBody >
<!--<span style="display: none !important; visibility: hidden; opacity: 0; color: transparent; height: 0; width: 0;">{!$Label.Art_Preheader}</span>-->
<c:Art OId="{!relatedTo.Id}"/>
</messaging:htmlEmailBody>
</messaging:emailTemplate>
Can you try language="{!relatedTo.owner.languageLocaleKey}" and see if that fixes the issue?
Related:https://salesforce.stackexchange.com/questions/11917/recipient-user-language-email-alert-in-workflow
If this information helps, please mark the answer as best. Thank you