bpmn-io / form-js

View and visually edit JSON-based forms.
https://bpmn.io/toolkit/form-js/
Other
419 stars 109 forks source link

Enhancement: i18n for form validation in form-js-viewer #443

Open ghost opened 2 years ago

ghost commented 2 years ago

Hi. Thank you for creating such a great tool. It helps us a lot with our goals.

Is your feature request related to a problem? Please describe: The only problem we see now is a lack of support for i18n. We have a multilingual app based on Angular 13+.

Describe the solution you'd like It would be great to provide a mechanism showing the form validation in the currently selected language. For example, we could anchor to TranslateService's onLangChange event and set one in the Form object

https://github.com/bpmn-io/form-js/blob/develop/packages/form-js-viewer/src/core/Validator.js

Zrzut ekranu_20221130_132915

pinussilvestrus commented 1 year ago

Thanks for your request, I added this to the tracking issue for i18n support in general (https://github.com/bpmn-io/form-js/issues/77).

Could you please update your issue to use our templates? This way we can gather more information about your use case, which helps to prioritize this issue.

DK-2013 commented 11 months ago

same request also for editor