Bug 816056

Summary: Make language (i18n/translation) configurable for designer.war
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Toshiya Kobayashi <tkobayas>
Component: jBPM 5Assignee: Kris Verlaenen <kverlaen>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.0.GA   
Target Milestone: ER7   
Target Release: BRMS 5.3.0.GA   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:19:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Toshiya Kobayashi 2012-04-25 07:26:59 UTC
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:

Comment 1 Prakash Aradhya 2012-04-30 16:17:16 UTC
Team is working on creating localization.  Please tackle this for upcoming build.

Comment 2 Tihomir Surdilovic 2012-05-09 17:22:16 UTC
This is done in Designer master and 2.2.x branches.

Comment 3 Ryan Zhang 2012-05-14 08:16:58 UTC
The fixed for this issue should be included in ER7. Please do verification on it.

Comment 5 Sona Mala 2012-05-23 08:52:12 UTC
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

Comment 6 Lukáš Petrovický 2012-05-23 08:57:44 UTC
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.

Comment 7 Toshiya Kobayashi 2012-05-23 12:46:21 UTC
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

Comment 13 Red Hat Bugzilla 2025-02-10 03:19:42 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.