bpmn-js-token-simulation icon indicating copy to clipboard operation
bpmn-js-token-simulation copied to clipboard

Add i18n configuration

Open iorizqz opened this issue 2 years ago • 5 comments

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.

iorizqz avatar Feb 20 '23 03:02 iorizqz

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.

nikku avatar Feb 20 '23 07:02 nikku

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

image

image

iorizqz avatar Feb 21 '23 01:02 iorizqz

@iorizqz Do you want to contribute that change?

nikku avatar Feb 21 '23 09:02 nikku

I enjoy! According to the contributing guidelines, should I create a pull request? I fork the master branch?

iorizqz avatar Feb 22 '23 01:02 iorizqz

You'd want to fork this repository, do the necessary changes and submit a pull request, yes.

nikku avatar Feb 22 '23 14:02 nikku