Bug 907574 - anaconda localization problem
Summary: anaconda localization problem
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: anaconda
Version: 5.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Vratislav Podzimek
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 921048
TreeView+ depends on / blocked
 
Reported: 2013-02-04 18:21 UTC by Vladimir Titov
Modified: 2013-10-01 00:30 UTC (History)
6 users (show)

Fixed In Version: anaconda-11.1.2.260-1
Doc Type: Bug Fix
Doc Text:
Cause: The file with a list of strings that should be translated was old and didn't contain all strings marked in the code for translation. Consequence: Wrong translated messages were chosen in some places (e.g. the NFS repository dialog). Fix: A new file with a list of strings that should be translated has been generated and a Russian translation for some strings has been added. Result: The NFS repository dialog contains right strings for Russian language, the other languages need translations.
Clone Of:
Environment:
Last Closed: 2013-10-01 00:30:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
anaconda.po.patch - patches for files anaconda.pot and ru.po. Screenshots: sl59.nfs.en.png and sl59.nfs.ru.png (for russian installation) (14.62 KB, application/x-gzip)
2013-02-04 18:21 UTC, Vladimir Titov
no flags Details
Reproducer w RHEL 5.9 - see (null) value (55.14 KB, image/png)
2013-06-05 14:30 UTC, Alexander Todorov
no flags Details
Fixed in 5.10 - options string properly translated (192.04 KB, image/png)
2013-06-05 14:30 UTC, Alexander Todorov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1354 0 normal SHIPPED_LIVE anaconda bug fix update 2013-09-30 21:12:35 UTC

Description Vladimir Titov 2013-02-04 18:21:00 UTC
Created attachment 692936 [details]
anaconda.po.patch - patches for files anaconda.pot and ru.po. Screenshots: sl59.nfs.en.png and sl59.nfs.ru.png (for russian installation)

Description of problem:

anaconda-11.1.2.259-1


How reproducible:


Steps to Reproduce:
1. Install the system by NFS
2. If defined locale is not default, e.g. fr or ru, then
3. during NFS setup we get wrong messages
  
Actual results:
On the NFS Setup screen we get wrong message (garbage)

Expected results:
Correct message is expected

Additional info:
The reason is: in loader2/nfsinstall.c nfsServerPrompt string is used.
This string's defined in loader2/net.c. However, in anaconda.po
we have defined netServerPromts string. These strings are concided
upto four lines. In nfsinstall.c:59 the string nfsServerPrompt is used.
This string is identified with netServerPrompt from mo-file with TWO
%s directive for substituting strings. But only one string argument
is present in loader2/net.c. As result we have garbage in third string
on message window.

To fix this bug it's possible to add the nfsServerPrompt string
to anaconda.pot and its translation to <locale>.po files.

In attached tar-archives there three files: anaconda.po.patch,sl59.nfs.en.png, and sl59.nfs.ru.png

Comment 1 RHEL Program Management 2013-04-04 12:42:51 UTC
This request was evaluated by Red Hat Product Management for
inclusion in a Red Hat Enterprise Linux release.  Product
Management has requested further review of this request by
Red Hat Engineering, for potential inclusion in a Red Hat
Enterprise Linux release for currently deployed products.
This request is not yet committed for inclusion in a release.

Comment 2 Vratislav Podzimek 2013-05-20 09:07:47 UTC
Thanks for the patch! I've generated a new .pot file and used your translations.

Comment 4 Alexander Todorov 2013-06-05 14:30:08 UTC
Created attachment 757245 [details]
Reproducer w RHEL 5.9 - see (null) value

Comment 5 Alexander Todorov 2013-06-05 14:30:36 UTC
Created attachment 757246 [details]
Fixed in 5.10 - options string properly translated

Comment 6 Alexander Todorov 2013-06-05 14:31:01 UTC
VERIFIED with RHEL5.10-Server-20130530.0

Comment 7 errata-xmlrpc 2013-10-01 00:30:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1354.html


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