06-26-2017 05:37 AM
Hi.
I am new and I am using Alfresco 5.1 community version.
I have made some workflows with customized tasks defined in workflow model
<type name="ipp:incomingPostTask">
<parent>bpm:activitiOutcomeTask</parent>
<associations>
<association name="ipp:assignee">
<title>Assignee</title>
<source>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>cm:person</class>
<mandatory>true</mandatory>
<many>false</many>
</target>
</association>
</associations>
<mandatory-aspects/>
</type>
Now I want to make this task form multilingual. In this case I want to change title Assignee for example to Rechtsnachfolger.
How to achieve this?
Thanks in advance.
07-12-2017 07:36 AM
Fortunately I found a solution.
Just name property files in directory share/.../messages like this:
anyName_en.properties
anyName_fr.properties
Context file in share have to point at these files.
Now forms defined in share-config-custom.xml can use label-id="property".
07-04-2017 05:49 AM
Share your bean configuration here.
07-10-2017 12:52 AM
Bootstrap
<bean id="incomingPostProcess-repo-amp.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>alfresco/module/${project.artifactId}/model/content-model.xml</value>
<value>alfresco/module/${project.artifactId}/model/workflow-model.xml</value>
</list>
</property>
<property name="labels">
<list>
<value>alfresco/module/${project.artifactId}/messages/workflow-model</value>
</list>
</property>
</bean>
Service
<bean id="incomingPostProcess.workflowBootstrap" parent="workflowDeployer">
<property name="workflowDefinitions">
<list>
<props>
<prop key="engineId">activiti</prop>
<prop key="location">alfresco/module/incomingPostProcess-repo-amp/workflows/incomingPostProcess.bpmn</prop>
<prop key="mimetype">text/xml</prop>
<prop key="redeploy">true</prop>
</props>
</list>
</property>
</bean>
07-11-2017 06:42 AM
Hi.
Now I can translate properties and associations but I cannot translate types and aspects.
Model:
<aspect name="iw:approveContribution">
<title>Approvers for Approve Contribution</title>
Share-config-custom.xml contains form
<set id="iw:approveContribution" appearance="bordered-panel" template="/org/alfresco/components/form/2-column-set.ftl" />
<field set="iw:approveContribution" id="iw:approver" />
Properties
iw_contentModel.aspect.iw_approveContribution.title=Approvers for Approve Contribution
Form shows label of bordered panel as "iw:approveContribution"
How to make multilingual label of bordered panel?
Thank you in advance.
07-12-2017 07:36 AM
Fortunately I found a solution.
Just name property files in directory share/.../messages like this:
anyName_en.properties
anyName_fr.properties
Context file in share have to point at these files.
Now forms defined in share-config-custom.xml can use label-id="property".
Explore our Alfresco products with the links below. Use labels to filter content by product module.