cancel
Showing results for 
Search instead for 
Did you mean: 

How to customize email notification in french in Studio ?

Patrick_Delage
Confirmed Champ
Confirmed Champ

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

1 REPLY 1

sylvain_sam
Champ in-the-making
Champ in-the-making

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-...

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.