Translate workflow task title
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2016 07:03 AM
How can the title of a workflow task can be translated by the alfresco message property files?
I use the following sampleWorkflow.properties file:
The bpmn-snippet for this tasks, is configured like this:
The problem is, that only the field description is being translated, but the title seems to be ignored and will always be filled with the task name property from the bpmn file.
What did I do wrong?
Thank you very much.
I use the following sampleWorkflow.properties file:
sampleWf.task.confirmTask.title=Confirm this, with a title which is different than the task name sampleWf.task.confirmTask.description=Confirm please
The bpmn-snippet for this tasks, is configured like this:
<userTask id="confirmTask" name="Confirm" activiti:assignee="${bpm_assignee.properties.userName}" activiti:formKey="samplewf:customTypeTask"></userTask>
The problem is, that only the field description is being translated, but the title seems to be ignored and will always be filled with the task name property from the bpmn file.
What did I do wrong?
Thank you very much.
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2016 07:58 PM
https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/COMMUNITYTAGS/V5.0.a/root/projects/repo...
Alfresco is loading the title and description from
I believe the syntax might be,
Yours should be like this,
Note: Replace
Alfresco is loading the title and description from
workflow-message.properties
file only.//From workflow-messages.propertieswf_workflowmodel.type.wf_submitAdhocTask.title=Taskwf_workflowmodel.type.wf_submitAdhocTask.description=Allocate task to colleague//From workflowmodel.xml<model xmlns="http://www.alfresco.org/model/dictionary/1.0" name="wf:workflowmodel">….. <type name="wf:submitAdhocTask"> <parent>bpm:startTask</parent>…..
I believe the syntax might be,
modelprefix_modelname.task.modelprefix_taskname.title=Title goes heremodelprefix_modelname.task.modelprefix_taskname.description=Title goes here
Yours should be like this,
sampleWf_<name>.task.sampleWf_confirmTask.title=Confirm this, with a title which is different than the task namesampleWf_<name>.task.sampleWf_confirmTask.description=Confirm please
Note: Replace
<name>
with your workflow model name.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2016 10:37 AM
I use Alfresco Community 5.1
Can you help me translate workflow task tilte ??
Can you help me translate workflow task tilte ??
