How to achieve translations in Bonita web forms


Hi Team,

I am new to Bonita BPM. In my project I need to show bonita webforms labels and messages on webform in different languages. I don't know how to achieve that in Bonita. I am using Bonita 6.3.9 Subscription version. In my project we are using WCF Soap services (.net) as Connectors and Groovy scripts for other opertaions.

Please help me out on this.

1 answer


The easiest way is by using properties files and loading the messages from there.

This is the way we've done it.

For your widget create a script that calls a groovy function with a message ID. The groovy function could then retrieve the message from the properties file, at the same time taking the users locale info into account and returning either english, french german etc.

Hope this helps, regards



Submitted by sylvain.jeandroz on Fri, 09/04/2015 - 16:32

Hi everybody,

Can you share with us an exemple of Groovy script that can do that?

Thanks a lot!