Bug 1245006

Summary: Welcome page is shown in English
Product: [Retired] JBoss BPMS Platform 6 Reporter: Hiroko Miura <hmiura>
Component: Business CentralAssignee: Michael <mbiarnes>
Status: CLOSED EOL QA Contact: Lukáš Petrovický <lpetrovi>
Severity: high Docs Contact:
Priority: high    
Version: 6.1.0CC: kverlaen, manstis, rrajasek, trikkola
Target Milestone: ER1Keywords: i18n
Target Release: 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 20:06:09 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:
Attachments:
Description Flags
6.1.0 welcome page with locale=ja
none
6.3.0 welcome page with locale=ja
none
BRMS 6.3.x JA
none
BPMS 6.3.0.ER1 ja welcome page none

Description Hiroko Miura 2015-07-21 02:36:32 UTC
Created attachment 1054127 [details]
6.1.0 welcome page with locale=ja

Description of problem:
In 6.1.0 business central, welcome page (which is shown just after logged in)  is shown in English even if locale parameter is set to ja in URL like the following.

http://${HOST}:${PORT}/business-central/login?locale=ja

Menu is shown in Japanese but body is shown in English.

Version-Release number of selected component (if applicable):

B*MS 6.1.0

How reproducible:

login business central via above URL


Actual results:

English welcome page is shown.

Expected results:

Japanese Welcome page is shown.

Additional info:

This seems to be due to missing ja property file below, which exists in 6.0.3  

business-central.war/WEB-INF/classes/org/kie/workbench/common/screens/home/client/resources/i18n/HomeConstants_ja.properties

Comment 3 Toni Rikkola 2015-07-22 10:02:52 UTC
Ok, managed to reproduce with the product build. Looks like this works on the community side.

Comment 4 Toni Rikkola 2015-07-22 12:27:56 UTC
Ok, Hiroko is right about the missing translations. The file actually exists, but it has no content. Because of this the text is by default shown in English.

Since my Japanese is really bad. I think we need to find somebody else than me to do the translations. 

The empty file:
https://github.com/droolsjbpm/kie-wb-distributions/blob/master/kie-wb/kie-wb-home-page-product/src/main/resources/org/kie/workbench/client/resources/i18n/HomeConstants_ja_JP.properties

Comment 5 Kris Verlaenen 2015-09-07 14:59:17 UTC
Toni, are these simply translations missing in zanata (so we should ask the translation team to provide the translations)?  Or is our build for some reason not picking up the translations?

Comment 6 manstis 2015-09-15 13:08:47 UTC
I suspect this is an issue with our "productized" profile and use of Zanata. When pushing our "source" i18n files to Zanata we normally (I suspect) skip the "productized" profile so the source files for the "product" Home Page are not sent to Zanata for translation. 

It is not sufficient to push the source i18n files to Zanata for the "productized" profile since the file names clash with those we use for "Communtiy". We need to rename the i18n files used by "product" to avoid the clash and ensure we push the source files to Zanata (and pull the translations when performing the "productized" build).

Comment 7 Toni Rikkola 2015-11-12 11:17:24 UTC
And the file is not in Zanata. Doing the change Michael proposed. Even without the name overlaps, the Zanata file names are not helpful.

Comment 13 jsoltes 2016-02-17 09:44:17 UTC
Created attachment 1127899 [details]
6.3.0 welcome page with locale=ja

Comment 14 jsoltes 2016-02-17 09:48:15 UTC
I have checked it for bpm-suite 6.3.0 and there are still some parts of the welcome page that are not localized - headlines and welcome text is in English (see the attachement).

Comment 16 manstis 2016-02-17 13:41:16 UTC
It appears engineering tagged 6.3.0 on 18th of January whereas the latest translations were made 29th January.. so the long and short is that the current build does not contain the most recent translations.. setting to MODIFIED as the next build should be OK..

Comment 17 jsoltes 2016-03-02 12:56:17 UTC
For bpm-suite 6.3.0.DR2 headlines and welcome texts are still in English (instead of Japanese). This is the same situation as in 6.3.0.DR1 (see the attachement "6.3.0 welcome page with locale=ja").

Comment 19 manstis 2016-03-02 15:58:57 UTC
Created attachment 1132386 [details]
BRMS 6.3.x JA

Comment 21 jsoltes 2016-03-17 14:29:54 UTC
Created attachment 1137406 [details]
BPMS 6.3.0.ER1 ja welcome page

Comment 22 jsoltes 2016-03-17 14:33:28 UTC
For BPMS 6.3.0.ER1 the headlines and welcome texts are finally in Japanese. However the rest is again in English (see the attachement).

Comment 24 jsoltes 2016-04-26 11:44:12 UTC
Verified for BPMS 6.3.0.ER3.