Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 907574

Summary: anaconda localization problem
Product: Red Hat Enterprise Linux 5 Reporter: Vladimir Titov <tit>
Component: anacondaAssignee: Vratislav Podzimek <vpodzime>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.9CC: atodorov, csieh, jcpunk, sadov, tit, toracat
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-01 00:30:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 921048    
Attachments:
Description Flags
anaconda.po.patch - patches for files anaconda.pot and ru.po. Screenshots: sl59.nfs.en.png and sl59.nfs.ru.png (for russian installation)
none
Reproducer w RHEL 5.9 - see (null) value
none
Fixed in 5.10 - options string properly translated none

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