bpmn-js-token-simulation
bpmn-js-token-simulation copied to clipboard
Add i18n configuration
What shall we do?
Add i18n configuration
How shall we do it?
Use the translate
/ i18n
infrastructure provided by diagram-js
, cf. bpmn-js-i18n example. Essentially that means wrapping all string usages in a translate('the string')
call.
I guess you want this library to be internationalized, i.e. by using the diagram-js translate
call?
Happy to take a contribute that adds this. Updated the issue with further information.
That's what it means! the english lang is default locale. translate called param is english('the string')! Sorting 'the string' is a lot of work
@iorizqz Do you want to contribute that change?
I enjoy! According to the contributing guidelines, should I create a pull request? I fork the master branch?
You'd want to fork this repository, do the necessary changes and submit a pull request, yes.