cancel
Showing results for 
Search instead for 
Did you mean: 

How to set locale specific context to activiti jars

tkhopoli
Champ in-the-making
Champ in-the-making

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 1

bassam_al-saror
Star Collaborator
Star Collaborator

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.