Bug 1285234 - [ALL LANG] Unlocalized 'Ok' button in each dialog.
Summary: [ALL LANG] Unlocalized 'Ok' button in each dialog.
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: Cristiano Nicolai
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-25 09:28 UTC by Lijun Li
Modified: 2020-03-27 19:43 UTC (History)
3 users (show)

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


Attachments (Terms of Use)
Unlocalized 'Ok' button in each dialog. (19.83 KB, image/png)
2015-11-25 09:42 UTC, Lijun Li
no flags Details
updated ui (29.63 KB, image/png)
2016-02-19 08:19 UTC, Cristiano Nicolai
no flags Details

Description Lijun Li 2015-11-25 09:28:25 UTC
Description of problem:
Unlocalized 'Ok' button in each dialog.

Version-Release number of selected component (if applicable):
6.2.0.ER 5

How reproducible:
100%

Steps to Reproduce:
1. Login bpms with no en_US locale.
2. Click Workbench Settings or About icon from top right.

Actual results:
Unlocalized 'Ok' button in each dialog.

Expected results:
It should be localized.

Additional info:
Please see the attached screen-shot.

Comment 2 Lijun Li 2015-11-25 09:42:31 UTC
Created attachment 1098643 [details]
Unlocalized 'Ok' button in each dialog.

Comment 3 Cristiano Nicolai 2016-02-11 05:40:28 UTC
I believe the problem is related to zh_CN where OK hasn't been properly translated.

https://github.com/cristianonicolai/uberfire-extensions/blob/master/uberfire-widgets/uberfire-widgets-commons/src/main/resources/org/uberfire/ext/widgets/common/client/resources/i18n/CommonConstants_zh_CN.properties

Any chance some expert in the language could translate it?

Comment 4 Cristiano Nicolai 2016-02-11 05:44:07 UTC
(In reply to Cristiano Nicolai from comment #3)
> I believe the problem is related to zh_CN where OK hasn't been properly
> translated.
> 
> https://github.com/cristianonicolai/uberfire-extensions/blob/master/uberfire-
> widgets/uberfire-widgets-commons/src/main/resources/org/uberfire/ext/widgets/
> common/client/resources/i18n/CommonConstants_zh_CN.properties
> 
> Any chance some expert in the language could translate it?

Correct link to upstream repository: 

https://github.com/uberfire/uberfire-extensions/blob/master/uberfire-widgets/uberfire-widgets-commons/src/main/resources/org/uberfire/ext/widgets/common/client/resources/i18n/CommonConstants_zh_CN.properties

Comment 5 Lijun Li 2016-02-15 09:45:02 UTC
Hi Angela, could you let translator for a update?

Thanks,
Robert

Comment 6 Wei Liu 2016-02-16 04:01:45 UTC
Hi Robert,

The term "Ok" was translated in Zanata, not sure how this bug incurred. I can see that in 

https://github.com/uberfire/uberfire-extensions/blob/master/uberfire-widgets/uberfire-widgets-commons/src/main/resources/org/uberfire/ext/widgets/common/client/resources/i18n/CommonConstants_zh_CN.properties

the string "OK" is not translated, however it doesnt appear in Zanata. Maybe a new string should be pushed into zanata? (just a thought)

cheers
Leah

Comment 7 Lijun Li 2016-02-16 05:09:46 UTC
Hi Cristiano Nicolai,

Could you confirm Comment 6?

Thanks,
Robert

Comment 8 Cristiano Nicolai 2016-02-19 08:19:18 UTC
Created attachment 1128486 [details]
updated ui

After pulling latest changes from Zanata I could check that the label is now translated. Thanks

Comment 9 Martin Zilak 2016-03-04 14:41:14 UTC
Hello.

I've tried this with 6.3.0.DR2 and the "Ok" button seems to be translated only in Spanish and Chinese (in Japanese, it is all uppercase - "OK" - which is possibly correct). 

In all of the other languages, it still says "Ok", but I'm not sure whether it is on purpose or not (perhaps https://en.wikipedia.org/wiki/OK isn't the best source of information for this).

Cristiano, can you give me more information on this? Do the other languages also use the word "Ok"?

Thank you.

Comment 10 Cristiano Nicolai 2016-03-08 06:01:20 UTC
Hi Martin,

Here is the latest translation pulled from as of today:

de: OK=Ok
es: OK=Aceptar
fr: OK=Ok
ja: OK=OK
pt_BR: OK=Ok
ru: OK=ОК
zn_CN: OK=确定
zn_TW: OK=確定


That should be the exact match you see in the UI.

Comment 11 Cristiano Nicolai 2016-03-08 06:02:10 UTC
*pulled from Zanata.

Comment 12 Martin Zilak 2016-03-09 11:11:12 UTC
Hello Cristiano,

thanks for making this clear. I'm marking this as verified.


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