function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
rohit.mehtarohit.mehta 

Multi Lingual visualforce Email templates

Hello,

 

I have a requirement where on certain workflow rules I want to send out an email in the contacts preferred language.

Is there a way to create multi lingual visual force email templates  ?

 

If not what is the best approach to acheive this?

 

Thanks,

Rohit

shillyershillyer

Take a look at Custom Labels, you can then reference these using the $Label variable in your Visualforce code.

 

Hope that helps,

Sati

rohit.mehtarohit.mehta

Thanks. I thought they would work only in a VF page.

I will try it tomorrow and confirm if it works.

 

Thanks,

Rohit

Rasmus MenckeRasmus Mencke
Custom labels will be translated based on the sending users language, not the recipients language. We are looking at a feature to allow for translations based on the recipients language.