AnsweredAssumed Answered

Have any way to apply multiple language in script?

Question asked by nguyenducquang on Apr 20, 2014
Hi everyone,

I'm newbie on Alfresco and I have a difficult issue. I want to use multiple language for script at file *.bpmn20.xml

Example:

<activiti:executionListener event="take" class="org.alfresco.repo.workflow.activiti.listener.ScriptExecutionListener">
  <activiti:field name="script">
   <activiti:string><![CDATA[
      execution.setVariable('mywfid_customstatus', 'My custom status');
   ]]></activiti:string>
  </activiti:field>
</activiti:executionListener>


I want apply multiple language for <strong>'My custom status'</strong>.
<strong>Have any way to do it?</strong>

@ I just try using ${msg('my.custom.status')} but not working.

Would anyone have solutions on this?

Thanks in advance,
Quang.

Outcomes