<?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 Edit default texts in mail in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/edit-default-texts-in-mail/m-p/287966#M241096</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to customize the mail contents for invites, activities etc.&lt;/P&gt;&lt;P&gt;I have successfully been able to change the email subject by adding /tomcat/webapps/alfresco/WEB-INF/classes/alfresco/messages/invitation-service.properties with following content:&lt;/P&gt;&lt;P&gt;nvitation.invitesender.email.subject=[my modified text]: You have been invited to join the {1} site&lt;BR /&gt;invitation.invitesender.emailAddDirect.subject=&lt;SPAN&gt;[my modified text]&lt;/SPAN&gt;: You have been invited to join the {1} site&lt;/P&gt;&lt;P&gt;When I look in the .ftl files in data dictionary, there are lines like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;${message("templates.invite-email-add-direct.html.header", args["siteName"])?html}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question:&lt;/P&gt;&lt;P&gt;Where does it get the text from?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been searching in slingshot.properties and other files without success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody have any ideas?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); background-color: #ffffff; font-size: 12.5px;"&gt;message("templates.invite-email-add-direct.html.header", args["siteName"])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); background-color: #ffffff; font-size: 12.5px;"&gt;message("templates.invite-email-add-direct.html.header", args["siteName"])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); background-color: #ffffff; font-size: 12.5px;"&gt;message("templates.invite-email-add-direct.html.header", args&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Nov 2016 12:15:26 GMT</pubDate>
    <dc:creator>pwskiold</dc:creator>
    <dc:date>2016-11-16T12:15:26Z</dc:date>
    <item>
      <title>Edit default texts in mail</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/edit-default-texts-in-mail/m-p/287966#M241096</link>
      <description>Hi,I'm trying to customize the mail contents for invites, activities etc.I have successfully been able to change the email subject by adding /tomcat/webapps/alfresco/WEB-INF/classes/alfresco/messages/invitation-service.properties with following content:nvitation.invitesender.email.subject=[my modifi</description>
      <pubDate>Wed, 16 Nov 2016 12:15:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/edit-default-texts-in-mail/m-p/287966#M241096</guid>
      <dc:creator>pwskiold</dc:creator>
      <dc:date>2016-11-16T12:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Edit default texts in mail</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/edit-default-texts-in-mail/m-p/287967#M241097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Those messages are provided by the templates-messages resource bundle. The resource bundle is made up of locale-specific properties files. It can be found in the alfresco-repository project / JAR in the alfresco/messages folder. In order to change the messages you need to provide a custom resource bundle that overrides the specific key-message pairs for the locales you want to have adapted. You cannot / should not modify any file in the alfresco-repository JAR or the Alfresco WAR for this. The documentation has an article about &lt;A href="http://docs.alfresco.com/5.1/concepts/kb-preset-internationalization.html" rel="nofollow noopener noreferrer"&gt;overriding the default messages&lt;/A&gt;. (Note: The article refers to web script messages but the same approach is valid for any other messages. Just pick a custom bean ID - do not use webscripts.resources - and only include your own message bundles - do not include those examples from the article.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 12:42:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/edit-default-texts-in-mail/m-p/287967#M241097</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-11-16T12:42:08Z</dc:date>
    </item>
  </channel>
</rss>

