Bug 1318739 - Product Home Page has localized URLs in Zanata
Summary: Product Home Page has localized URLs in Zanata
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER2
: 6.3.0
Assignee: manstis
QA Contact: Jiri Locker
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-17 16:05 UTC by manstis
Modified: 2020-03-27 20:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 20:07:47 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1245006 0 high CLOSED Welcome page is shown in English 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1259741 0 medium CLOSED [ja_JP][fr_FR][es_ES] Unlocalized Welcome page in Home -> Home Page. 2021-02-22 00:41:40 UTC

Internal Links: 1245006 1259741

Description manstis 2016-03-17 16:05:51 UTC
Description of problem:

Source code has localized images for the Home Page. See https://github.com/jboss-integration/kie-wb-distributions/tree/bsync-6.4.x-2016.03.08/kie-wb/kie-wb-home-page-product/src/main/resources/org/kie/workbench/public/images/home

These are referenced in i18n files held in Zanata. See https://translate.jboss.org/webtrans/translate?project=kie-wb-distributions&iteration=6.4.0&localeId=ja&locale=en#view:doc;doc:org.kie/kie-wb-home-page-product/org/kie/workbench/client/resources/i18n/HomePageProductConstants

The problem is the "translations" are easily overwritten by the translators (as to be honest they have no idea these keys have secretive meaning and values).

It'd be best to remove the URLs from Zanata and construct the path programmatically based on locale.
 
Version-Release number of selected component (if applicable):

6.3.0.ER1

How reproducible:

Run BPMS 6.3.0.ER1 and pick a locale other than English.

Comment 6 jsoltes 2016-03-30 17:14:09 UTC
Manstis, the first link in the description isn't working. Now I am not sure what I shoudn't see or I should see instead. ;) Can you please provide some working link?

Comment 7 manstis 2016-03-30 19:42:10 UTC
@jsoltes, You can see the different images for BPMS here: https://github.com/jboss-integration/kie-wb-distributions/tree/sync-6.4.x-2016.03.24/kie-wb/kie-wb-home-page-product/src/main/resources/org/kie/workbench/public/images/home (looks like the old "tag" has been deleted, hence the original URL no longer works).

The "Home Page" used to store relative URLs to the different images for each locale in Zanata (https://translate.jboss.org/project/view/kie-wb-distributions) which was problematic when people within the translation team altered the URLs. The fix covered by this BZ is to remove the URLs from Zanata and instead construct them from the locale programmatically.

To test, deploy BxMS and switch between the different locales (either append "?locale=xxx" to the URL, use the "Language Switcher" - cog icon - on the Home Page or a browser plugin). Home Page images should be correct.

Comment 8 jsoltes 2016-03-31 08:45:28 UTC
Verified for 6.3.0.ER2 BRMS & BPMS.


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