Hide Forgot
Description of problem: Translation is not occurring for some error messages outputted by install-num-migrate-to-rhsm. Version-Release number of selected component (if applicable): subscription-manager-0.99.6 How reproducible: Always. Steps to Reproduce: 1. # LANG=ru_RU.UTF8 ./install-num-migrate-to-rhsm -d -i 123 Actual results: The error message is displayed in English. Expected results: The error message should be displayed in Russian.
Is this a unique code base which needs a unique zanata project?
No, we can use the Zanata project for subscription-manager since the installation number migration script is included in that project. And in fact, most of the script's output is already translated. It's just this specific case that's failing.
Created attachment 574076 [details] A patch to fix this bug.
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.
commit 393b66a6595a4698727f1792f350fda477c7b9d1 Author: Alex Wood <awood> Date: Wed Apr 11 14:35:06 2012 -0400 790579: Show translations for errors thrown by installation number parsing. Available in subscription-manager-1.0.1+
Version RHEL 5.9 # rpm -qa | grep subscription-manager subscription-manager-migration-1.0.4-1.git.0.0fe81f8.el5 subscription-manager-1.0.4-1.git.0.0fe81f8.el5 subscription-manager-migration-data-1.11.1.1-1.git.2.c7fbafe.el5 subscription-manager-gui-1.0.4-1.git.0.0fe81f8.el5 subscription-manager-firstboot-1.0.4-1.git.0.0fe81f8.el5 Actual Result : # LANG=ru_RU.UTF8 install-num-migrate-to-rhsm -d -i 123 Ошибка разбора кода установки: Недопустимая длина строки Expected Result : Same as above Tested for the below set of languages Assamese as_IN Bengali bn_IN Oriya or_IN Punjabi pa_IN Gujarati gu_IN Marati mr_IN Hindi hi_IN Tamil ta_IN Telgu te_IN Kannada kn_IN Malayalam ml_IN Korean ko_KR Japanese ja_JP Chinese (latest)zh_CN Chinese (trad) zh_TW Russian ru_RU German de_DE Spanish es_ES Italian it_IT Portugese (BRA) pt_BR French fr_FR Moving Bug to Verified state
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-0033.html