Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 825397

Summary: Many translated languages fail the pofilter newlines test
Product: Red Hat Enterprise Linux 6 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED DEFERRED QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3CC: aalam, alikins, ankit, bkearney, eng-l10n-bugs, tlavigne
Target Milestone: rcKeywords: i18n, Translation, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-21 22:08:25 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: 771481, 888457    
Attachments:
Description Flags
Redemption Dialog displayed with the msgid as reference (renders nicely)
none
Redemption Dialog displayed in a language that fails the pofilter newlines test (renders ugly) none

Description John Sefler 2012-05-25 22:17:54 UTC
Description of problem:
When translating a msgid that contains \n characters, this usually means that the string is long and that return characters are strategically placed so as to help the message display nicely on the width of the screen.

For example, the translator for LANG=de_DE did not include the newline characters in the msgstr for the following translation.  See the attached screenshot for the consequences...

msgid ""
"Redeeming the subscription may take a few minutes.\n"
"Please provide an email address to receive notification\n"
"when the redemption is complete."
msgstr "Das Einlösen der Subskription kann ggf. einige Minuten dauern. Bitte geben Sie eine E-Mail-Adresse an, an die eine Benachrichtigung gesendet werden kann, sobald die Subskription erfolgreich eingelöst wurde."




Version-Release number of selected component (if applicable):
[root@jsefler-r63-server ~]# rpm -q subscription-manager
subscription-manager-0.99.19-1.el6.x86_64


Expected results:
The pofilter newlines test should be used by the translators to avoid these issues.


Additional info:
http://translate.sourceforge.net/wiki/toolkit/pofilter_tests#newlines

Comment 1 John Sefler 2012-05-25 22:19:31 UTC
Created attachment 586959 [details]
Redemption Dialog displayed with the msgid as reference (renders nicely)

Comment 2 John Sefler 2012-05-25 22:22:40 UTC
Created attachment 586964 [details]
Redemption Dialog displayed in a language that fails the pofilter newlines test (renders ugly)

This screenshot demonstrates a consequence when the translator neglects to put \n characters in strategic positions to geometrically match the msgid.

Comment 3 John Sefler 2012-05-25 23:10:03 UTC
The two msgids which are the most troublesome are the following since they are displayed in the GUI:

msgid ""
"Redeeming the subscription may take a few minutes.\n"
"Please provide an email address to receive notification\n"
"when the redemption is complete."

msgid ""
"We have detected that you have multiple service level\n"
"agreements on various products. Please select how you\n"
"want them assigned."

Comment 4 RHEL Program Management 2012-05-30 05:48:12 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 5 John Sefler 2012-12-17 18:29:55 UTC
(In reply to comment #3)
> msgid ""
> "We have detected that you have multiple service level\n"
> "agreements on various products. Please select how you\n"
> "want them assigned."

For rhel64, this msgid has changed to the following and therefore compounds the problem because the first newline character has been removed.  See bug 825388

msgid ""
"We have detected that you have multiple service levels on various products. Please select how you\n"
"want them assigned."

[root@jsefler-6 ~]# rpm -q subscription-manager
subscription-manager-1.1.15-1.el6.x86_64

Comment 8 John Sefler 2012-12-21 22:08:25 UTC
CLOSING this bug in favor of many language specific bugzillas failing the pofilter newlines test...
Bug 887957
Bug 887966
Bug 887989
Bug 887995
Bug 888010