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.
Thanks for sending a patch. Your patch will be part also of next upstream release.
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.
setting as verified, this passes all tests.
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