Closed milaendo closed 5 years ago
@milaendo What version of modeler and processmaker was this tested against? Looking at the latest modeler source on develop, all of the above strings have already been wrapped in the $t
translation function, except for
The id field should be unique across all elements in the diagram, ex. id_1
But I think the ex. id_1
part should be removed from the end to keep it consistent with the other error messages.
"New Task" has also been renamed to "Task":
definition(moddle, $t) {
return moddle.create('bpmn:Task', {
name: $t('Task'),
});
},
Also, @milaendo, can you let me know how you test translations locally in processmaker? I only seem to have english translations available and don't see where to change it.
@chipit24 When I test locally i delete my composer.lock/vendor files and add these to my composer.json
{ "type": "vcs", "url": "https://github.com/ProcessMaker/spark-packages" }, { "type": "vcs", "url": "https://github.com/ProcessMaker/spark-package-translations" }
and this to the required section:
"processmaker/spark-packages": "", "processmaker/spark-package-translations": ""
then run composer install. Next do "art" and look for the instal commands for the package package and the translation package.
While testing German translations I am seeing this English strings in the modeler