As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
I can modify email notification in mail templates (translate in french), but i don't know where modify subject ... for example : [NUXEO]Document created
I also need to translate email notification in collab space : Member Activity of .......
Thank you
For workflow tasks I did it contributing this XML extension :
<extension target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService" point="notifications"> <notification name="Task assigned" enabled="false" > <event name="workflowTaskAssigned"/> </notification> <notification name="Task assigned" channel="email" enabled="true" availableIn="Workspace" autoSubscribed="true" template="workflowTaskAssigned" templateExpr="NotificationContext['taskInstance'].getVariable('taskNotificationTemplate')" subject="Action requise pour ${docTitle}" label="label.nuxeo.notifications.appReviewStarted"> <event name="workflowTaskAssigned"/> </notification> <notification name="Task reassigned" channel="email" enabled="true" availableIn="Workspace" autoSubscribed="true" template="workflowTaskAssigned" templateExpr="NotificationContext['taskInstance'].getVariable('taskNotificationTemplate')" subject="Action requise pour ${docTitle}" label="label.nuxeo.notifications.appReviewStarted"> <event name="workflowTaskReassigned"/> </notification> <notification name="Task delegated" channel="email" enabled="true" availableIn="Workspace" autoSubscribed="true" template="workflowTaskDelegated" subject="Tache deleguee pour ${docTitle}" label="label.nuxeo.notifications.appReviewStarted"> <event name="workflowTaskDelegated"/> </notification> </extension>
See https://github.com/nuxeo/nuxeo/blob/2387c0ba417810c3b68fd8d51795b46cdee6f579/modules/platform/nuxeo-platform-document-routing/nuxeo-routing-core/src/main/resources/OSGI-INF/document-routing-notification-contrib.xml