Description of problem: Currently, "i18n/translation_en_us.js" is hard-coded in org.jbpm.designer.server.EditorHandler so we cannot switch translation from en-us. Make language configurable (e.g. <init-param> in web.xml) so that designer.war can pick up specified translation_xx.js under i18n directory. Sent a pull request. https://github.com/tsurdilo/process-designer/pull/6 Version-Release number of selected component (if applicable): BRMS 5.3.0 ER6 Actual results: No way to enable i18n/translation_xx.js other than translation_en_us.js Expected results: Uses can choose language for i18n/translation_xx.js Additional info:
Team is working on creating localization. Please tackle this for upcoming build.
This is done in Designer master and 2.2.x branches.
The fixed for this issue should be included in ER7. Please do verification on it.
Please which localization should be supported by 5.3.0 ER7? For DE,RU,ES: - designer display blank canvas without toolbars (I waited more than 5 minutes) For JA_JP: - loading of designer take more time than is usual. - some description of icons are still in english: - all icons in south toolbar - some icons in north toolbar(dictionary,color template,import process) - in east and west toolbar the titles are japanese but labels of properties and object's names are english. - icons Dictionary, Node Source and Tool in pop-up menu of objects are english - validation's results are english - editor for changing properties is english Steps to set localization: 1. Set value of "designer.locale" in designer.war/WEB-INF/web.xml to {de|es|ru|ja_jp} 2. Start standalone server 5.3.0 ER7 3. Open guvnor through browser (Firefox) 4. Create new (or Open) BPMN2 process
Toshiya, could you please provide information whether this is sufficient for you? You're the main user of the localization features, so I'm interested in your opinion.
Thanks, This BZ is focusing on the capability to "change the language to load i18n/translation_xx.js". In that sense, the issue has been resolved. > For DE,RU,ES: > - designer display blank canvas without toolbars (I waited more than 5 minutes) translation_[de|ru|es].js files are not in sync with translation_en_us.js. Currently we don't have a contributor for those languages hence we don't support them for BRMS 5.3.0. A good news is that we can fix those files in the exploded war even after GA release. > For JA_JP: > - loading of designer take more time than is usual. No problem. The next access gets faster. > - some description of icons are still in english: > - all icons in south toolbar > - some icons in north toolbar(dictionary,color template,import process) > - in east and west toolbar the titles are japanese but labels of properties and object's names are english. > - icons Dictionary, Node Source and Tool in pop-up menu of objects are english > - validation's results are english > - editor for changing properties is english For east and west toolbar, we (Japanese team) are working on stencil translation (stencilsets/bpmn2.0jbpm/stencildata/bpmn2.0jbpm.orig). I've filed a BZ for this. https://bugzilla.redhat.com/show_bug.cgi?id=824392 In addition, some text are hard-coded in other files as you pointed. Externalizing them is our TODO after GA. I've filed a BZ for this. https://bugzilla.redhat.com/show_bug.cgi?id=824408 Toshiya