In Salesforce, Visualforce email templates support multi-language sending using Custom Labels. Custom Labels are developer-defined text values that support translations for any language enabled in your Salesforce org. By adding translated Custom Label values and referencing them in your Visualforce email template, you can send emails in the recipient's local language by specifying the target language in the language attribute of the messaging:emailTemplate component.
This is useful when your customer base spans multiple languages and you want to ensure email communications are delivered in each recipient's preferred language without maintaining separate template files for each language.
To configure Salesforce Visualforce email templates to send in the recipient's local language using Custom Labels, follow these steps.
Custom Labels are managed in Setup > Custom Labels and support translations for each language enabled in your Salesforce org via the Translation Workbench.
$Label.LabelName merge field syntax.language attribute of your messaging:emailTemplate component to the desired language code (for example, language="fr" for French, language="de" for German).By setting the language attribute, Salesforce resolves all Custom Label references in the template to the translated value for the specified language at send time.
000385830

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.