Bug 1283711 - Console: unsupported locales results in mixed languages in BC
Summary: Console: unsupported locales results in mixed languages in BC
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.2.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: DR2
: 6.3.0
Assignee: Neus Miras
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks: 1283912 1283916
TreeView+ depends on / blocked
 
Reported: 2015-11-19 16:15 UTC by Pavel Kralik
Modified: 2020-03-27 19:39 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:39:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Mixed languages in BC with unsupported locales (56.95 KB, image/png)
2015-11-19 16:15 UTC, Pavel Kralik
no flags Details
Chinese filters with English locales. (42.84 KB, image/png)
2016-02-25 13:31 UTC, Pavel Kralik
no flags Details

Description Pavel Kralik 2015-11-19 16:15:47 UTC
Created attachment 1096767 [details]
Mixed languages in BC with unsupported locales

Description of problem:
When unsupported locales are chosen, than the BC is translated to several languages

Version-Release number of selected component (if applicable):
BPMS 6.2.0.CR1

How reproducible:
Always

Steps to Reproduce:
1. go to the business central with unsupported locales eg.
   http://localhost:8080/business-central/kie-wb.html?locale=cs_CZ 
2. Go to Console where some filters are presented. Jobs, Process Instances, Tasks
3. Menu is in English and filters are in different language

Actual results:
Mixed languages in BC

Expected results:
BC is in English

Additional info:

Comment 2 Pavel Kralik 2015-11-20 09:43:34 UTC
Reproducer:
1) Work with supported locales, eg. Chinese
   http://localhost:8080/business-central/kie-wb.html?locale=zh_CN
2) Set back to unsupported or english
   http://localhost:8080/business-central/kie-wb.html?locale=cs_CZ
   or
   http://localhost:8080/business-central/kie-wb.html
3) you can see mixed languages
4) Restart browser and mixed languages are set after restart too

Comment 3 Neus Miras 2015-12-15 13:37:26 UTC
Is the same issue as https://bugzilla.redhat.com/show_bug.cgi?id=1283916 
Currently, If you want regenerate the titles in one specific locale of the default filters you have to restore the default filters navigating in that locale

Comment 4 Pavel Kralik 2016-02-25 13:30:02 UTC
I worked in Chinese locales and then switched to English. Filters in Jobs/Process Instances/Tasks Perspectives are in Chinese. BPMS6.3.0.DR1

Comment 5 Pavel Kralik 2016-02-25 13:31:31 UTC
Created attachment 1130538 [details]
Chinese filters with English locales.

Comment 6 Neus Miras 2016-02-27 14:01:46 UTC
The title and description of the filter are introduced in one specific locale and it doesn't change when the user change the navigation language.
This commits adds the ability of translate just the default filters title and description in each section: Task, process instance and jobs.
Here the PRs:

master
https://github.com/droolsjbpm/jbpm-console-ng/pull/343

6.4.x
https://github.com/droolsjbpm/jbpm-console-ng/pull/344

The sensation of mixing languages will remains with the filters that have been created by the user.
In the future, be can add the ability of introduce the titles and descriptions in different languages

Comment 7 Neus Miras 2016-02-29 10:23:51 UTC
Merged

master
https://github.com/droolsjbpm/jbpm-console-ng/commit/5dd16b266cc6a8f8960de84a9d67a9bd72196dfc

6.4.xhttps://github.com/droolsjbpm/jbpm-console-ng/commit/77b224ea6457cce4a39aadc69557e635de63ea07

Comment 8 Pavel Kralik 2016-03-11 17:08:57 UTC
BPMS 6.3.0.DR2


Note You need to log in before you can comment on or make changes to this bug.