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
Ok, managed to reproduce with the product build. Looks like this works on the community side.
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
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?
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).
And the file is not in Zanata. Doing the change Michael proposed. Even without the name overlaps, the Zanata file names are not helpful.
Created attachment 1127899 [details] 6.3.0 welcome page with locale=ja
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).
The translations are present on Zanata: https://translate.jboss.org/webtrans/translate?project=kie-wb-distributions&iteration=6.4.0&localeId=ja&locale=en#view:doc;doc:org.kie/kie-drools-wb-home-page-product/org/kie/workbench/drools/client/resources/i18n/HomePageProductConstants I will check how the build was performed..
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..
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").
Created attachment 1132386 [details] BRMS 6.3.x JA
Created attachment 1137406 [details] BPMS 6.3.0.ER1 ja welcome page
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).
Verified for BPMS 6.3.0.ER3.