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:
-
Update locally the attached files with the changes you want to persist in the new message.
-
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. - 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
- Restart your portal
-
Additional Information