I’ve recently discovered that the engine has some support for localization of user tasks (Localization of user task texts) and also that it supports a custom TaskLocalizationManager by providing the property internalTaskLocalizationManager for the ProcessEngineConfiguration.
This is a very important feature for me because I don’t want to provide translations directly in the BPMN model since they change very frequently.
On the other hand, I’ve noticed that process instances are also localized but the engine is only supporting translations directly in the BPMN. There is no support for a custom LocalizationManager for process instances.
I’ve also discovered that there is no support for translations when querying for process definitions. Both the ProcessDefinitionQuery and ProcessDefinition classes are not yet ready for localization: they’re missing the .locale(), setLocalizedName(), setLocalizedDescription(), getLocalizedName(), getLocalizedDescription().
Is this a known problem ? Do you consider it something that would be welcomed in the Engine?
I’m open to make a pull request to add this feature, by applying the same logic that was added to the tasks service.