Bug 927990 - [ta_IN] unchanged translations for several msgids containing "OPTIONS" in subscription-manager/1.8.X
Summary: [ta_IN] unchanged translations for several msgids containing "OPTIONS" in sub...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: 5.10
Assignee: candlepin-bugs
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel510 rhsm-2013
TreeView+ depends on / blocked
 
Reported: 2013-03-26 16:06 UTC by John Sefler
Modified: 2013-09-30 23:01 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
No description necessary
Clone Of:
Environment:
Last Closed: 2013-09-30 23:01:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1332 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2013-09-30 22:49:24 UTC

Description John Sefler 2013-03-26 16:06:20 UTC
Description of problem:

[root@jsefler-7 ~]# msgunfmt --no-wrap /usr/share/locale/ta_IN/LC_MESSAGES/rhsm.mo | grep -i OPTIONS -A1
msgid "%%prog %s [OPTIONS]"
msgstr "%%prog %s [OPTIONS]"
                   ^^^^^^^    <======== EXPECTED விருப்பங்கள்

msgid "%%prog %s [OPTIONS] CERT_FILE"
msgstr "%%prog %s [OPTIONS] CERT_FILE"
                   ^^^^^^^    <======== EXPECTED விருப்பங்கள்

msgid "%%prog %s [OPTIONS] MANIFEST_FILE"
msgstr "%%prog %s [OPTIONS] MANIFEST_FILE"
                   ^^^^^^^    <======== EXPECTED விருப்பங்கள்

msgid "%prog [OPTIONS]"
msgstr "%prog [OPTIONS]"
               ^^^^^^^    <======== EXPECTED விருப்பங்கள்

msgid "%prog [options]"
msgstr "%prog [options]"
               ^^^^^^^    <======== EXPECTED விருப்பங்கள்

msgid "Error: --list should not be used with any other options for setting or removing configurations."
msgstr "பிழை: --list ஆனது அமைவிற்கான மற்ற ஏதாவது விருப்பத்துடன் அல்லது கட்டமைப்புகளை நீக்குதல் போன்றவற்றிற்கு பயன்படுத்தப்படாது."
--
msgid "Filter Options"
msgstr "வடிப்பான் விருப்பங்கள்"
--
msgid "Options"
msgstr "விருப்பங்கள் "
--
msgid "The --servicelevel and --no-auto options cannot be used together."
msgstr "--servicelevel மற்றும் --no-auto விருப்பங்களை ஒன்றாக பயன்படுத்த முடியாது."
--
msgid "Usage: %s MODULE-NAME [MODULE-OPTIONS] [--help]"
msgstr "பயன்பாடு: %s MODULE-NAME [MODULE-OPTIONS] [--help]"
--
msgid "options"
msgstr "விருப்பங்கள்"
--
msgid "options:"
msgstr "விருப்பங்கள்:"




Version-Release number of selected component (if applicable):
[root@jsefler-7 ~]# rpm -q subscription-manager
subscription-manager-1.8.4-1.git.70.ff4c9ab.el7.x86_64
https://translate.zanata.org/zanata/iteration/view/subscription-manager/1.8.X

Comment 1 John Sefler 2013-03-26 16:16:11 UTC
msgid "\tManifest"
msgstr "\tManifest"   <======  EXPECTED "\tTRANSLATION_FOR_MANIFEST"

Comment 2 John Sefler 2013-03-26 16:17:36 UTC
(In reply to comment #1)
> msgid "\tManifest"
> msgstr "\tManifest"   <======  EXPECTED "\tTRANSLATION_FOR_MANIFEST"

please substitute the correct ta_IN translation for the word "Manifest"

Comment 4 Shantha kumar 2013-03-28 07:05:53 UTC
msgid "%%prog %s [OPTIONS]"
msgstr "%%prog %s [OPTIONS]"
                   ^^^^^^^    <======== EXPECTED விருப்பங்கள்
Shantha: "OPTIONS" kept in English purposefully. Pls lte me know still if it needs to be translated.

msgid "%%prog %s [OPTIONS] CERT_FILE"
msgstr "%%prog %s [OPTIONS] CERT_FILE"
                   ^^^^^^^    <======== EXPECTED விருப்பங்கள்

Shantha: "OPTIONS" kept in English purposefully. Pls lte me know still if it needs to be translated.


msgid "%%prog %s [OPTIONS] MANIFEST_FILE"
msgstr "%%prog %s [OPTIONS] MANIFEST_FILE"
                   ^^^^^^^    <======== EXPECTED விருப்பங்கள்

Shantha: "OPTIONS" kept in English purposefully. Pls lte me know still if it needs to be translated.


msgid "%prog [OPTIONS]"
msgstr "%prog [OPTIONS]"
               ^^^^^^^    <======== EXPECTED விருப்பங்கள்

Shantha: "OPTIONS" kept in English purposefully. Pls lte me know still if it needs to be translated.


msgid "%prog [options]"
msgstr "%prog [options]"
               ^^^^^^^    <======== EXPECTED விருப்பங்கள்

Shantha: "options" kept in English purposefully. Pls lte me know still if it needs to be translated.


msgid "Error: --list should not be used with any other options for setting or removing configurations."
msgstr "பிழை: --list ஆனது அமைவிற்கான மற்ற ஏதாவது விருப்பத்துடன் அல்லது கட்டமைப்புகளை நீக்குதல் போன்றவற்றிற்கு பயன்படுத்தப்படாது."

Shantha: Could not find any issue with this string. Pls let me know if there is any..

--
msgid "Filter Options"
msgstr "வடிப்பான் விருப்பங்கள்"
--

Shantha: Could not find any issue with this string. Pls let me know if there is any..


msgid "Options"
msgstr "விருப்பங்கள் "
--

Shantha: Could not find any issue with this string. Pls let me know if there is any..

msgid "The --servicelevel and --no-auto options cannot be used together."
msgstr "--servicelevel மற்றும் --no-auto விருப்பங்களை ஒன்றாக பயன்படுத்த முடியாது."
--

Shantha: Could not find any issue with this string. Pls let me know if there is any..


msgid "Usage: %s MODULE-NAME [MODULE-OPTIONS] [--help]"
msgstr "பயன்பாடு: %s MODULE-NAME [MODULE-OPTIONS] [--help]"
--
Shantha: "OPTIONS" kept in English purposefully. Pls lte me know still if it needs to be translated.


msgid "options"
msgstr "விருப்பங்கள்"
--
Shantha: Could not find any issue with this string. Pls let me know if there is any..

msgid "options:"
msgstr "விருப்பங்கள்:"
Shantha: Could not find any issue with this string. Pls let me know if there is any..




msgid "\tManifest"
msgstr "\tManifest"   <======  EXPECTED "\tTRANSLATION_FOR_MANIFEST"

Shantha: Fixed.


-Thanks
Shantha

Comment 5 RHEL Program Management 2013-04-09 20:56:38 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 6 Devan Goodwin 2013-07-11 13:56:08 UTC
OPTIONS is indeed supposed to be left in english. Moving to ON_QA.

Comment 7 John Sefler 2013-07-16 22:04:30 UTC
(In reply to Devan Goodwin from comment #6)
> OPTIONS is indeed supposed to be left in english. Moving to ON_QA.
That's not true.  Leaving it untranslated is left to the discretion of the translator.
The reason this bug was opened is because in this lang=ta_IN, the translation of OPTIONS/Options/options has been inconsistent.  All three of these words refer to the same thing, yet all three of them are not being translated.  Is this a confusing message to a native ta_IN speaking user.


Shantha,
You said "OPTIONS" kept in English purposefully. Pls lte me know still if it needs to be translated.

The reason why I believe you should translate the word "OPTIONS" is because you have translated the word "Options" and "options" when it refers to the same thing.

For example in English....

[root@jsefler-5 ~]# subscription-manager clean --help
Usage: subscription-manager clean [OPTIONS]

Remove all local system and subscription data without affecting the server

options:
  -h, --help  show this help message and exit

^^^^^^^  In this English translation, "OPTIONS" and "options" are used to refer to the same list of choices.


Now in ta_IN....
[root@jsefler-5 ~]# LANG=ta_IN.utf8 subscription-manager clean --help
பயன்பாடு: subscription-manager clean [OPTIONS]

சேவையகத்தைப் பாதிக்காமல், அக
கணினிகள் மற்றும் சந்தா தரவு
அனைத்தையும் நீக்கவும்

விருப்பங்கள்:
  -h, --help  இந்த உதவி செய்தியை
              காட்டி வெளியேறு

^^^^^^  Notice that you did not translate "OPTIONS", but you did translate விருப்பங்கள்


Other languages are translating it; for example...

[root@jsefler-5 ~]# LANG=as_IN.utf8 subscription-manager clean --help
ব্যৱহাৰ: subscription-manager clean [বিকল্পসমূহ]

চাৰ্ভাৰক প্ৰভাৱ নেপেলাই
স্থানীয় চিস্টেম আৰু
স্বাক্ষৰণ তথ্য আতৰাওক

বিকল্পসমূহ:
  -h, --help  এই সহায় বাৰ্তা দেখুৱাওক
              আৰু প্ৰস্থান কৰক

 
Moving back to NEW / NEEDINFO from shkumar

Comment 8 Shantha kumar 2013-07-17 06:57:22 UTC
Usually the text with all caps are kept in English as they must be variables. To maintain consistency all the occurrences of 'options', 'option', 'module', 'module-name' have been translated within SM 1.8.x

https://translate.zanata.org/zanata/iteration/view/subscription-manager/1.8.X?cid=59960



So fixed for Ta-In.

- Thanks
Shantha

Comment 9 John Sefler 2013-07-17 13:24:51 UTC
(In reply to Shantha kumar from comment #8)
> Usually the text with all caps are kept in English as they must be
> variables.

Ahhh. Now I understand why you left the all capitalized words untranslated.  For our subscription-manager project, this is not the case.  It is acceptable to translate the all capitalized words.

I agree that words referring to a variable, package name, configuration parameter, and so on should not be translated.  It is not obvious to the translator what these words are because they will not always be capitalized, camelCase, hyphenated, or use underscores.  For these translations, I've tried to write some automated tests to catch them individually.

Thank you Shantha for your cooperation.


It is also okay to translate CERT_FILE and MANIFEST_FILE.  These are not variables.  They refer to a file path that the user must supply on the command line.

Comment 10 Ankit Patel 2013-07-22 10:49:04 UTC
There's also another reason why command line parameters are not translated for Indic languages, is because the text rendering for Indic languages is broken over the console or terminal.

Comment 11 Bryan Kearney 2013-07-29 16:08:11 UTC
fixed in master at

commit f5f72130cbe5e5f1458c19a88a6828454a97844e
Author: Bryan Kearney <bkearney>
Date:   Mon Jul 29 12:07:32 2013 -0400

    927990: Pull in latest ta_IN strings from zanata

Comment 13 Sharath Dwaral 2013-08-05 17:55:36 UTC
Version:

# rpm -qa | egrep "subscription-manager|python-rhsm"
subscription-manager-1.8.16-1.el5
subscription-manager-debuginfo-1.8.16-1.el5
subscription-manager-migration-data-1.11.3.2-1.git.0.14f9d59.el5
subscription-manager-firstboot-1.8.16-1.el5
python-rhsm-1.8.16-1.el5
subscription-manager-migration-1.8.16-1.el5
python-rhsm-debuginfo-1.8.16-1.el5
subscription-manager-gui-1.8.16-1.el5

Verification:

# msgunfmt --no-wrap /usr/share/locale/ta_IN/LC_MESSAGES/rhsm.mo | grep -i OPTIONS -A1
msgid "%%prog %s [OPTIONS]"
msgstr "%%prog %s [விருப்பங்கள்]"
--
msgid "%%prog %s [OPTIONS] CERT_FILE"
msgstr "%%prog %s [விருப்பங்கள்] CERT_FILE"
--
msgid "%%prog %s [OPTIONS] MANIFEST_FILE"
msgstr "%%prog %s [விருப்பங்கள்] MANIFEST_FILE"
--
msgid "%prog [OPTIONS]"
msgstr "%prog [விருப்பங்கள்]"
--
msgid "%prog [options]"
msgstr "%prog [விருப்பங்கள்]"
--
msgid "Error: --list should not be used with any other options for setting or removing configurations."
msgstr "பிழை: --list ஆனது அமைவிற்கான மற்ற ஏதாவது விருப்பத்துடன் அல்லது கட்டமைப்புகளை நீக்குதல் போன்றவற்றிற்கு பயன்படுத்தப்படாது."
--
msgid "Filter Options"
msgstr "வடிப்பான் விருப்பங்கள்"
--
msgid "Options"
msgstr "விருப்பங்கள் "
--
msgid "The --servicelevel and --no-auto options cannot be used together."
msgstr "--servicelevel மற்றும் --no-auto விருப்பங்களை ஒன்றாக பயன்படுத்த முடியாது."
--
msgid "Usage: %s MODULE-NAME [MODULE-OPTIONS] [--help]"
msgstr "பயன்பாடு: %s தொகுதிக்கூறு-பெயர் [தொகுதிக்கூறு-விருப்பங்கள்] [--help]"
--
msgid "options"
msgstr "விருப்பங்கள்"
--
msgid "options:"
msgstr "விருப்பங்கள்:"


# msgunfmt --no-wrap /usr/share/locale/ta_IN/LC_MESSAGES/rhsm.mo | grep -i -A1 "manifest"
msgid "\tManifest"
msgstr "\tமேனிஃபெஸ்ட்"


VERIFIED

Comment 15 errata-xmlrpc 2013-09-30 23:01: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-1332.html


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