Bug 754352 - [fr_FR] RHSM CLI_some module message are still unlocalized
Summary: [fr_FR] RHSM CLI_some module message are still unlocalized
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.2
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Bryan Kearney
QA Contact: Entitlement Bugs
URL:
Whiteboard:
Depends On:
Blocks: 738066 756082
TreeView+ depends on / blocked
 
Reported: 2011-11-16 09:09 UTC by Lijun Li
Modified: 2012-06-20 13:04 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-20 13:04:10 UTC
Target Upstream Version:


Attachments (Terms of Use)
[fr_FR] RHSM CLI_list module message are still unlocalized (70.28 KB, image/png)
2011-11-16 09:10 UTC, Lijun Li
no flags Details
[fr_FR] RHSM CLI_repos module message are still unlocalized (32.23 KB, image/png)
2011-11-16 09:32 UTC, Lijun Li
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0804 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2012-06-19 19:51:31 UTC

Description Lijun Li 2011-11-16 09:09:11 UTC
Description of problem:
list module message are still unlocalized

Version-Release number of selected component (if applicable):
subscription-manager-0.96.17-1.el6


How reproducible:
100%


Steps to Reproduce:
1.Run subscription-manager CLI in terminal
(Display help)

$ sudo subscription-manager list

$ sudo subscription-manager list --available

$ sudo subscription-manager list --consumed

  
Actual results:
list module message are still unlocalized

Expected results:
All the string should be localized.

Additional info:

Comment 1 Lijun Li 2011-11-16 09:10:41 UTC
Created attachment 533932 [details]
[fr_FR] RHSM CLI_list module message are still unlocalized

Comment 3 Lijun Li 2011-11-16 09:32:07 UTC
Created attachment 533943 [details]
[fr_FR] RHSM CLI_repos module message are still unlocalized

Comment 4 Bryan Kearney 2012-01-04 14:45:03 UTC
Current relase has translations for list and repos.

Comment 6 Shwetha Kallesh 2012-02-23 11:12:26 UTC
Only the word "EXPIRE" needs to translated.Rest is fine

[root@dhcp201-166 ~]# LANG=fr_FR.UTF-8 subscription-manager list --avail
+-------------------------------------------+
    Abonnements disponibles
+-------------------------------------------+

Nom de produit : Awesome OS Modifier      
ID du produit : awesomeos-modifier       
ID du pool : 0000000035856b280135856beca30222
 Quantité : 5                        
Droits d'accès multiples : No                       
Expire : 15/02/2013               
Type de machine : physique   

[root@dhcp201-166 ~]# LANG=fr_FR.UTF-8 subscription-manager list 
+-------------------------------------------+
    Statut des produits installés
+-------------------------------------------+
Nom de produit : Red Hat Enterprise Linux Server
Version : 6.3 Beta                 
Architecture : x86_64                   
Statut : Non abonné              
Démarre : Aucun                    
Expire : Aucun                    

[root@dhcp201-166 ~]# LANG=fr_FR.UTF-8 subscription-manager list --consumed
+-------------------------------------------+
    Abonnement produit consommé
+-------------------------------------------+

Nom de produit : Awesome OS Server Bits   
Numéro de contrat : 102                      
Numéro de compte : 12331131231              
Numéro de série : 5074836292433332234      
Actif : True                     
Quantité utilisée : 1                        
Démarre : 16/02/2012               
Expire : 15/02/2013               

Nom de produit : Awesome OS Server Bits   
Numéro de contrat : 102                      
Numéro de compte : 12331131231              
Numéro de série : 9081335547191968918      
Actif : True                     
Quantité utilisée : 1                        
Démarre : 16/02/2012               
Expire : 15/02/2013

Comment 7 John Sefler 2012-04-05 17:25:11 UTC
[root@jsefler-r63-server ~]# rpm -q subscription-manager
subscription-manager-0.99.13-1.el6.x86_64


[root@jsefler-r63-server ~]# LANG=fr_FR.UTF-8 subscription-manager list --installed
+-------------------------------------------+
    Statut des produits installés
+-------------------------------------------+
Nom du produit : Awesome OS Workstation Bits
Product ID:           	27060                    
Version : 6.1                      
Architecture : ALL                      
Statut : Futur abonnement         
Démarre :                          
Expire :  



[root@jsefler-r63-server ~]# msgunfmt /usr/share/locale/fr/LC_MESSAGES/rhsm.mo | grep Expires -A1
msgid "Expires:              \t%-25s"
msgstr "Expire : %-25s"

^^^ VERIFIED: "Expires" is translated to "Expire" in LANG fr


[root@jsefler-r63-server ~]# msgunfmt /usr/share/locale/fr/LC_MESSAGES/rhsm.mo | grep -i "Product ID" -A1
msgid "Product Id:           \t%-25s"
msgstr "ID du produit : %-25s"
[root@jsefler-r63-server ~]# 
[root@jsefler-r63-server ~]# msgunfmt /usr/share/locale/fr/LC_MESSAGES/rhsm.mo | grep "Product ID" -A1
[root@jsefler-r63-server ~]# 

^^^ FAILED: The "Product ID:" string is not translated and does not appear to have been externalized.  However "Product Id:" has been externalized and translated.  I suggest that development change their default string from "Product ID" to "Product Id" so that the translations get picked up.  This affects ALL Langs.

Moving back to NEW/FailedQA...

Comment 8 Sam Friedmann 2012-04-12 01:42:32 UTC
Translation has been updated accordingly in 0.96.X and checked in 0.99.X as well as in 1.0.X.
Please verify the bug in context and let me know if all is sorted.

Thank you,


Sam

Comment 10 John Sefler 2012-04-13 21:34:07 UTC
[root@jsefler-r63-server ~]# rpm -q subscription-manager
subscription-manager-0.99.14-1.el6.x86_64


[root@jsefler-r63-server ~]# msgunfmt /usr/share/locale/fr/LC_MESSAGES/rhsm.mo | grep -i "Product ID" -A1
msgid "Product Id:           \t%-25s"
msgstr "ID du produit : %-25s"
[root@jsefler-r63-server ~]# 
[root@jsefler-r63-server ~]# msgunfmt /usr/share/locale/fr/LC_MESSAGES/rhsm.mo | grep "Product ID" -A1
[root@jsefler-r63-server ~]# 


^^^ FAILED  The msgid containing "Product ID" is NOT there.  The translators cannot translate the string if there is no msgid to be translated.  This problem is detailed in Bug 812483.

Moving this bug to VERIFIED since the bulk of the original problems are fixed.  Bug 812483 will take care of the untranslated "Product ID"

Comment 12 errata-xmlrpc 2012-06-20 13:04:10 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-2012-0804.html


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