RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1063320 - ABRT displays Traditional Chinese Strings under Simplified Chinese locale
Summary: ABRT displays Traditional Chinese Strings under Simplified Chinese locale
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libreport
Version: 7.0
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Jakub Filak
QA Contact: Martin Kyral
URL:
Whiteboard:
Depends On: 909536
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-10 13:51 UTC by Jakub Filak
Modified: 2016-12-01 00:46 UTC (History)
15 users (show)

Fixed In Version: libreport-2.1.11-6.el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 909536
Environment:
Last Closed: 2014-06-13 09:44:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch fixing this bug (3.17 KB, patch)
2014-02-10 14:28 UTC, Jakub Filak
no flags Details | Diff

Description Jakub Filak 2014-02-10 13:51:30 UTC
+++ This bug was initially created as a clone of Bug #909536 +++

Description of problem:
abrt-gui displays Traditional Chinese Strings under Simplified Chinese locale, in the Events tab of the Configuration dialog.

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

How reproducible:
100%


Steps to Reproduce:
1. Start abrt-gui in zh_CN.UTF-8 locale
2. In menu, choose 编辑 - 首选项 (Edit - Preferences), then click on the Events tab in the popup dialog.
3. Check the strings under each event type.
  
Actual results:
We see Traditional Chinese strings.

Expected results:
The strings should be in Simplified Chinese.

Additional info:
The bug appears the same as https://bugzilla.redhat.com/show_bug.cgi?id=747954 at first sight. But after I check the msgunfmt-ed zh_CN abrt.po, no Traditional Chinese found. So the two bugs seem different. Besides, I cannot find the English version of those strings in abrt.po, which is rather strange.

--- Additional comment from Alick Zhao on 2013-02-09 10:23:15 CET ---



--- Additional comment from Christopher Meng on 2013-07-26 05:59:52 CEST ---

Is it Fixed?

--- Additional comment from Jakub Filak on 2013-07-26 07:26:22 CEST ---

We have found the root cause of this bug and we are working on the proper patch.

The bug is in libreport's event configuration XML parser. The parser tries very hard to get localized string and for that reason it accepts text value of an element if short locale ('zh') matches the element's xml:lang attribute value prefix. The algorithm is bit more complex and results into usage of the last found localized text. In the XML event definition files, Traditional Chinese localizations ('zh_TW') follow Simplified Chinese localizations ('zh_CN'), therefore 'zh_TW' localizations are used under 'zh_CN' locale.

--- Additional comment from Jakub Filak on 2013-08-15 10:16:08 CEST ---



--- Additional comment from Jakub Filak on 2013-10-31 14:59:53 CET ---

Upstream commit 44cbdd5f6ed05db2bc7cbb3f4cc671a235f171be fixes this bug.

--- Additional comment from Christopher Meng on 2013-11-28 02:25:49 CET ---

Seems like this will be fixed "officially" in 2.10?

--- Additional comment from Fedora Update System on 2013-12-12 10:58:32 CET ---

abrt-2.1.10-1.fc18,libreport-2.1.10-1.fc18,satyr-0.12-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/abrt-2.1.10-1.fc18,libreport-2.1.10-1.fc18,satyr-0.12-1.fc18

--- Additional comment from Fedora Update System on 2013-12-13 06:07:03 CET ---

Package abrt-2.1.10-1.fc18, libreport-2.1.10-1.fc18, satyr-0.12-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing abrt-2.1.10-1.fc18 libreport-2.1.10-1.fc18 satyr-0.12-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-23306/abrt-2.1.10-1.fc18,libreport-2.1.10-1.fc18,satyr-0.12-1.fc18
then log in and leave karma (feedback).

--- Additional comment from Alick Zhao on 2013-12-13 08:33:23 CET ---

I am going to test the update. And note for other possible testers, the test steps need to be changed since abrt-gui has been replaced by gnome-abrt. (Not sure what is the case with KDE?)

Updated Steps to Test:
1. Start gnome-abrt in zh_CN.UTF-8 locale
2. In popdown menu, choose Preferences, then click on the Events tab in the popup dialog.
3. Check the strings under each event type.

--- Additional comment from Alick Zhao on 2013-12-15 03:54:34 CET ---

On Fedora 19, after the update I still see Traditional Chinese strings under Simplified Chinese locale. Reboot does not help either. I'll try with Fedora 18 later and report the result.

--- Additional comment from Alick Zhao on 2013-12-19 12:23:31 CET ---

On Fedora 18, after the update I still see Traditional Chinese strings under Simplified Chinese locale too. Seems this issue remains not fixed.

--- Additional comment from Fedora End Of Life on 2013-12-21 16:50:34 CET ---

This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

--- Additional comment from Alick Zhao on 2013-12-28 13:59:14 CET ---

I upgraded my F18 machine to F20, and still see the same issue with abrt-2.1.10-1.fc20.x86_64 and abrt-2.1.10-1.fc20.x86_64 .

--- Additional comment from Jakub Filak on 2014-02-07 16:14:28 CET ---

(In reply to Alick Zhao from comment #13)
> I upgraded my F18 machine to F20, and still see the same issue with
> abrt-2.1.10-1.fc20.x86_64 and abrt-2.1.10-1.fc20.x86_64 .

Could you please attach a screen shot of wrong strings. I have a suspicion that I'm looking at different screens.

--- Additional comment from Alick Zhao on 2014-02-08 07:20:26 CET ---

Here is a screenshot of the issue. Note the texts in big window is in Simplified Chinese, but the texts in small dialogue is in Traditional Chinese.

Versions:
gnome-abrt-0.3.5-1.fc20.x86_64

--- Additional comment from Jakub Filak on 2014-02-08 09:40:20 CET ---

Thank you! '.UTF-8' suffix was causing problems.

Upstream commit e652d1c2604eac52b622ded3839e94bc742a5c50 fixes this bug.

Comment 2 Jakub Filak 2014-02-10 14:28:23 UTC
Created attachment 861409 [details]
Patch fixing this bug

Comment 5 Ludek Smid 2014-06-13 09:44:16 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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