How to set locale specific context to activiti jars

cancel
Showing results for 
Search instead for 
Did you mean: 
tkhopoli
Member II

How to set locale specific context to activiti jars

Hi, we use ACTIVITI 5.16 version jars for our solution.

I wanted to ask, is there any way to set locale context somewhere in the config file of activiti files or while calling activiti methods so that we get locale specific error message in case of any exception or locale specific any other messages for that matter?

For example when there is below exception:

No outgoing sequence flow for the element with id ‘ExclusiveGateway_0xmpp76’ could be selected for continuing the process.

We need the above exception/error to be translated, for the provided or Set locale while calling that particular activiti method

Appreciate your prompt response. Thanks

1 Reply
bassam_al-saror
Alfresco Employee

Re: How to set locale specific context to activiti jars

I don't think that setting the locale will matter since those error messages are hard coded in the code and there is no localization for them.