Hide Forgot
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:
Created attachment 533932 [details] [fr_FR] RHSM CLI_list module message are still unlocalized
Created attachment 533943 [details] [fr_FR] RHSM CLI_repos module message are still unlocalized
Current relase has translations for list and repos.
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
[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...
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
[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"
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