<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Localizing email notification in workflow javascript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/localizing-email-notification-in-workflow-javascript/m-p/173720#M126851</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could set the body of the email to use a Freemarker template and then use the &lt;/SPAN&gt;&lt;EM&gt;message(String)&lt;/EM&gt;&lt;SPAN&gt; function in the template to localize any strings:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;mail.parameters.template = root.childByNamePath("Company Home/Data Dictionary/Email Templates/your_email_template.ftl");&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Aug 2008 11:23:24 GMT</pubDate>
    <dc:creator>sbuckle</dc:creator>
    <dc:date>2008-08-07T11:23:24Z</dc:date>
    <item>
      <title>Localizing email notification in workflow javascript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/localizing-email-notification-in-workflow-javascript/m-p/173719#M126850</link>
      <description>Hi all!I'm sending an email notification at each transition of the workflow, and I was wondering wether it's possible to localize the header and the content of the email. I'm using the sample javascript found on the WorkflowAdmin wiki page:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var mail = actions.create("mail");&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mail</description>
      <pubDate>Mon, 28 Jul 2008 22:34:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/localizing-email-notification-in-workflow-javascript/m-p/173719#M126850</guid>
      <dc:creator>robinflow</dc:creator>
      <dc:date>2008-07-28T22:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Localizing email notification in workflow javascript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/localizing-email-notification-in-workflow-javascript/m-p/173720#M126851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could set the body of the email to use a Freemarker template and then use the &lt;/SPAN&gt;&lt;EM&gt;message(String)&lt;/EM&gt;&lt;SPAN&gt; function in the template to localize any strings:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;mail.parameters.template = root.childByNamePath("Company Home/Data Dictionary/Email Templates/your_email_template.ftl");&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 11:23:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/localizing-email-notification-in-workflow-javascript/m-p/173720#M126851</guid>
      <dc:creator>sbuckle</dc:creator>
      <dc:date>2008-08-07T11:23:24Z</dc:date>
    </item>
  </channel>
</rss>

