Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1052107

Summary: Localization does not work for basic locales
Product: [Retired] JBoss BRMS Platform 6 Reporter: Ivo Bek <ibek>
Component: Business CentralAssignee: Neus Miras <nmirasch>
Status: CLOSED CURRENTRELEASE QA Contact: Tomas Livora <tlivora>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0.0CC: atangrin, etirelli, mbaluch
Target Milestone: ER1   
Target Release: 6.0.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 19:57:06 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 Ivo Bek 2014-01-13 10:38:04 UTC
Description of problem:

If you set one of following locales for example in your browser, the content will not be translated though there is a translation.

es
de
fr
zh
ja (there is probably no other option for Japanese)
pt

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


How reproducible:


Steps to Reproduce:
1. From one of the above languages set your preferred language in your browser.
2. Open homepage of Business central.
3. See the language of content has not changed.

Actual results:


Expected results:


Additional info:

Comment 2 Pedro Zapata 2014-01-15 10:25:48 UTC
Neus, can you check this? I guess this specific issue might be caused because the home and other translations were not integrated, but this is probably no longer the case for CR1.

Comment 3 Neus Miras 2014-01-15 17:45:33 UTC
The availables locales generated are: 

es_ES
fr_FR
ja_JP
pt_BR
zh_CN
de_DE

You can change the locale manualy adding the parameter locale=<locale> to the url, and since the first call, the language will remain along all app display.
( ...org.kie.workbench.KIEWebapp/KIEWebapp.html?locale=fr_FR)

If the user browser have one of these locale configurated, the app will be shown using that locale. 

Note:if the user has only the language and not the country configured, the request locale will be 'fr' and not 'fr_FR' and the app will be shown in app default locale (en_EN)
Maybe could be more complete support locale without country, but the change implies renaming of all resource bundle application files.
message_lang_country.properties ---> message_lang.properties

Comment 4 Ivo Bek 2014-01-16 10:09:37 UTC
Thank you for the information. Have you changed that file then?

It should be changed because for example in Firefox I do not have any option to set "ja_JP". There is only "ja" option for the Japanese locale. And the current solution would force users to use exactly these locales when they are only from different country.

Comment 5 Lukáš Petrovický 2014-02-07 16:19:22 UTC
This no longer has a target release of 6.0.0.

Comment 6 Tomas Livora 2014-02-27 12:54:11 UTC
Verified on BPMS 6.0.1 ER1

Comment 7 Ivo Bek 2014-03-19 08:55:37 UTC
qe_test_coverage? I belive it should be possible to change the localization in Selenium and verify that some page is translated.