Bug 801545 - CamelCase strings cause issues with the translators
CamelCase strings cause issues with the translators
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Bryan Kearney
Entitlement Bugs
Depends On:
Blocks: 738066
  Show dependency treegraph
Reported: 2012-03-08 14:39 EST by Bryan Kearney
Modified: 2012-06-20 09:06 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-06-20 09:06:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0804 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2012-06-19 15:51:31 EDT

  None (edit)
Description Bryan Kearney 2012-03-08 14:39:38 EST
the use of CamelCase and ALLCAPS cuases issues where translators do not translte the string, but QE opens up bugs against them. This bug Moves CamelCase to Camel Case and ALLCAPS to ALL-CAPS to try and resolve the issue.
Comment 2 Bryan Kearney 2012-03-08 14:58:03 EST
fixed in master at 148e9bf60bcde2508064ede626e4df4b98e20381
Comment 5 John Sefler 2012-04-18 16:31:19 EDT
Verifying Version...
[root@jsefler-r63-server ~]# rpm -q subscription-manager

To verify this bug, I picked one of the translated rhsm.mo files and ran the following command looking at each of the msgid keys.

# msgunfmt /usr/share/locale/as/LC_MESSAGES/rhsm.mo | more

Within the output from that command I looked for cases of CamelCase and ALLCAPS.  

VERIFIED: I found no cases of two words combined in a format of ALLCAPS.

[root@jsefler-r63-server ~]#  msgunfmt /usr/share/locale/as/LC_MESSAGES/rhsm.mo | grep msgid | egrep [A-Z][a-z]+[A-Z]
msgid "Invalid Product List ScrolledWindow"
msgid "Unable to locate SystemId file. Is this system registered?"

FAILED/QA: "ScrolledWindow" and "SystemId" are the only CamelCase values found in the msgid keys.  However...

Running the following command you will find that some translators choose to translate "ScrolledWindow" and some translators choose not to translate. (the same is true for "SystemId"). 
[root@jsefler-r63-server ~]# for f in `rpm -ql subscription-manager | grep rhsm.mo`; do echo $f; msgunfmt $f | grep  ScrolledWindow; done;

In my opinion these are not bugs.  Instead they are concious decisions by the translators who choose what is appropriate to be translated in their language.

Here are other questionable keys that I found.  However they too are translated in some languages and not in other:

msgid "N/A"
msgid "SLA"

Moving this bug to VERIFIED
Comment 7 errata-xmlrpc 2012-06-20 09:06:59 EDT
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.


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