I have a custom widget which upon adding to the form, the display names in the form change to this format: {{ properties.text | uiTranslate }}.
How can I resolve this display issue? It only occurs when I add my custom widget. I have gone through the following documentation page: https://documentation.bonitasoft.com/bonita/7.6/custom-widgets but have not been able to resolve the issue. I am using a community edition of bonita.
Nowadays localization is available in the Bonita Performance, Efficiency, and Teamwork editions only. So it's doesn't work in the community edition of Bonita.
If you want a "workaround" for localization in your custom widget, you need to make a json/js file which contains a key/value, example:
{ "fr": { "title":"Titre"},
"es":{ "title": "título"}
}
After declaring each key, in each language you want to translate, you need to do a js function to get value from your specific key in this collection, call him when you want to translate a String value.
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.