I have a requirement where on workflow rules I want to send out an email in the users preferred language, Is there a way to create multi-lingual visualforce email templates?
here is the sample Visualforce email template:
<messaging:emailTemplate recipientType="User"
relatedToType="custom_object"
subject="Case report for Account: {!relatedTo.name}">
<messaging:htmlEmailBody>
<html>
<body>
<p>Dear {!recipient.name},</p>
<p>Below is a list of cases related to {!relatedTo.name}.</p>
<table border="0" >
<tr>
<th>Case Number</th><th>Origin</th>
<th>Creator Email</th><th>Status</th>
</tr>
</table>
<p/>
</body>
</html>
</messaging:htmlEmailBody>
</messaging:emailTemplate>
So wherever, you see the English text that should be translate to different language based on the user selected language perference.
sample workflow rule selecting the above email template: