• ambitious B
  • NEWBIE
  • 5 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hi,

We have created an visualforce email template,which has to translated based on Users language.Here is the code,but this didn't get translated when we change the language.Any suggestions plz?
<messaging:emailTemplate subject="Last Login" recipientType="User" relatedToType="User_Status__c" language="{!recipient.LanguageLocaleKey}">

<messaging:htmlEmailBody >
<html>
<body>

<p>Hello "{!recipient.name}",</p>
<p>You have not logged into Salesforce.com in last 15 days. Is something wrong? Is there something that we can help you with? </p>
<p>Please login to Salesforce.com and keep your account active.</p>

<p>Regards,</p>
<p>Salesforce Support Team</p>

</body>
</html>
</messaging:htmlEmailBody>


</messaging:emailTemplate>
Hi,

We have created an visualforce email template,which has to translated based on Users language.Here is the code,but this didn't get translated when we change the language.Any suggestions plz?
<messaging:emailTemplate subject="Last Login" recipientType="User" relatedToType="User_Status__c" language="{!recipient.LanguageLocaleKey}">

<messaging:htmlEmailBody >
<html>
<body>

<p>Hello "{!recipient.name}",</p>
<p>You have not logged into Salesforce.com in last 15 days. Is something wrong? Is there something that we can help you with? </p>
<p>Please login to Salesforce.com and keep your account active.</p>

<p>Regards,</p>
<p>Salesforce Support Team</p>

</body>
</html>
</messaging:htmlEmailBody>


</messaging:emailTemplate>