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
Sami ShakithSami Shakith 

How to change the email body language based on the country language

Hi all,

I need to send email based on the country language of the user. For example if the user choose india, Email body will be in hindi. If user choose Korea the body will be in korean language. Suggestion please.

Thank You,
 
 
Best Answer chosen by Sami Shakith
Mudasir WaniMudasir Wani
Dear Sami,

What is your existing language and which language you want to use to send email

You can enable translation workbench here is a blog for same.
https://developer.salesforce.com/forums/?id=906F0000000BKvhIAG

 

All Answers

Mudasir WaniMudasir Wani

Hi Sami,

Create two different email templates and based on the country value the appropriate template should be selected to send the email.

Thanks.
Sami ShakithSami Shakith
Hi Mudasir Wani,

Thanks for your reply. I tried like this. But end user not getting the mail properly. The message body is showing in the form of symbols. I searched in net. People suggesting to use  "{!$Label.french}" . But I dont have idea about label. Could you please tell about it?
Mudasir WaniMudasir Wani
Dear Sami,

What is your existing language and which language you want to use to send email

You can enable translation workbench here is a blog for same.
https://developer.salesforce.com/forums/?id=906F0000000BKvhIAG

 
This was selected as the best answer
Sami ShakithSami Shakith
Thank you so much. It helps. :)
Sami ShakithSami Shakith
http://amitsalesforce.blogspot.in/2015/01/translation-workbench-salesforce.html

This link provides clear thing about translation workbench.
Mudasir WaniMudasir Wani
Please select the reply as best answer which solves your problem.
This will help others with same issue.Also our efforts in the community will be visible