Bug 578827 - Localization problem
Summary: Localization problem
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: system-config-lvm
Version: 5.4
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Marek Grac
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks: 579055
TreeView+ depends on / blocked
 
Reported: 2010-04-01 13:48 UTC by Oleg L. Sadov
Modified: 2016-04-26 16:23 UTC (History)
6 users (show)

Fixed In Version: system-config-lvm-1.1.5-5.el5
Doc Type: Bug Fix
Doc Text:
When running a non-English translation of the application, the initial window was not completely translated and still contained English messages. With this update, the underlying source code has been corrected to respect the localization settings, and all messages are now translated as expected.
Clone Of:
: 579055 (view as bug list)
Environment:
Last Closed: 2011-01-14 00:01:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch for correcting of localization settings. (513 bytes, patch)
2010-04-01 13:48 UTC, Oleg L. Sadov
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0103 0 normal SHIPPED_LIVE system-config-lvm bug fix update 2011-01-12 17:21:07 UTC

Description Oleg L. Sadov 2010-04-01 13:48:26 UTC
Created attachment 403979 [details]
Patch for correcting of localization settings.

Description of problem:
Some translated in PO-file messages is not translating in GUI.

Version-Release number of selected component (if applicable):
system-config-lvm-1.1.5-1.0.el5_4.1

How reproducible:
Run system-config-lvm in non-english locale (Russian for example)

Steps to Reproduce:
1. LANG=ru_RU.UTF-8 system-config-lvm
2.
3.
  
Actual results:
Message in system-config-lvm loading status window: "Reloading LVM. Please wait."


Expected results:
Accordingly msgstr in ru.po must be: "Производится перезагрузка LVM. Пожалуйста, подождите."

Additional info:
Source of this problem -- importing of lvmui_constants.py file before the setting of gettext's textdomain. Patch which solve this problem attached.

Comment 1 Marek Grac 2010-04-02 11:46:30 UTC
Thanks for sending a patch. 

Your patch will be part also of next upstream release.

Comment 5 Jaromir Hradilek 2010-12-01 14:26:40 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
When running a non-English translation of the application, the initial window was not completely translated and still contained English messages. With this update, the underlying source code has been corrected to respect the localization settings, and all messages are now translated as expected.

Comment 9 Brian Brock 2011-01-03 18:49:03 UTC
setting as verified, this passes all tests.

Comment 11 errata-xmlrpc 2011-01-14 00:01:37 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0103.html


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