Legacy Knowledge Base
Published Jun. 30, 2025

How to change message sent by email when making a comment in Asset Publisher

Written By

Pablo Vidal

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • When making a comment on some Web Content present in an Asset Publisher, with the Enable Email Subscription setting enabled on its page, a commented notification is sent by email to users subscribed to that Asset Publisher
  • However, the message that is sent by default is a message in English and I would like to know if there is any way to customize this message to a preferred language

Environment

  • Portal 6.2

Resolution

  • There is no native way to make this change via the UI.

  • However, there is a possible workaround to be done to update the content of this sent message. For this, follow these steps:

    1. Update locally the attached files with the changes you want to persist in the new message.

    2. In your bundle, add the attached files in the following directory: tomcat-7.0.62/webapps/ROOT/WEB-INF/classes/com/liferay/portlet/messageboards/dependencies
      If it does not exist, this directory can be created respecting this hierarchy of folders.

    3. Add the following parameters in your ext.properties:
      • discussion.email.body=com/liferay/portlet/messageboards/dependencies/discussion_email_body.tmpl
      • discussion.email.subject=com/liferay/portlet/messageboards/dependencies/discussion_email_subject.tmpl
    4. Restart your portal

Additional Information

 

 

Did this article resolve your issue ?

Legacy Knowledge Base