Print this page

How can I send the content of my Visualforce email template in recipients language?

Knowledge Article Number 000120154
Description I would like to send emails through Visualforce email templates in the local language of a user/recipient. How can I accomplish this?
Resolution This can be accomplished as follows:
 
a) Create custom labels for each sentence you want to send, and provide a translation for every language you would like to send the emails in.

b) Include the required custom labels into your Visualforce email template.

c) Select the desired language for the language attribute of messaging:emailTemplate.


Below are helpful links that give briefs of how the translation can be created and how to use a Label:
Custom Labels Overview
Creating and Editing Custom Labels
Creating and Editing Custom Label Translations




promote demote