How to customize email notification in french in Studio ?
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
0 votes
1 answers
1936 views
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>