Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1044339

Summary: Python's standard optparse module not translated
Product: Red Hat Enterprise Linux 7 Reporter: Wei Liu <lliu>
Component: pythonAssignee: Jens Petersen <petersen>
Status: CLOSED WONTFIX QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: agarcia, bkabrda, bnater, eng-i18n-bugs, eukim, kkrothap, lijli, lliu, mbanas, noriko, qe-baseos-apps, qe-i18n-bugs, sshedmak, ypoyarko
Target Milestone: rcKeywords: Translation
Target Release: 7.1   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-27 09:45:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Wei Liu 2013-12-18 06:48:15 UTC
Filed from caserun (INSERT URL HERE)

Version-Release number of selected component (if applicable):
unspecified

Steps to Reproduce: 
yum install firstboot


1. Run # firstboot from terminal

2. Run # firstboot --help from terminal



Actual results: 
1. Nothing came out after running command firstboot from terminal.
2. Output of firstboot --help is not localized for zh-CN, and those strings are not found in Zanata.
Expected results:
Check every screen/step for the following:

  * Translations complete? All strings should be localized. Make sure to also
    check the translations of warning/info messages that come up on top of the
    screen, as well as tool-tips where applicable.
  * Translations correct? Translations should be correct, e.g. spelling,
    grammar, terminology, plural forms etc. especially when variables where
    were used in strings
  * Appearance of translations, e.g. rendering, fits okay in available space
    (buttons/lists etc.)

Comment 2 Angela Garcia 2013-12-19 02:43:11 UTC
Exactly the same problem for Spanish
Actual results: 
1. Nothing came out after running command firstboot from terminal.
2. Output of firstboot --help is not localized for es-ES

Comment 3 Yulia 2013-12-19 03:30:31 UTC
Same for Russian

Comment 4 Eunju, Kim 2013-12-19 04:25:02 UTC
Same for Korean.

Comment 5 Vratislav Podzimek 2014-01-08 13:26:22 UTC
ad1) The fact that running 'firstboot' does nothing is an expected behaviour, because after the real first boot, the /etc/sysconfig/firstboot file should contain the string RUN_FIRSTBOOT=NO which prevents firstboot from multiple runs.

ad2) output of the 'firstboot --help' command is produced by the Python's standard optparse module.

The only issue in firstboot here is the error string when firstboot is not run as root, which is not marked for translation. Fixing that and reassigning this bug to python as optparse's unlocalized output is the real issue here.

Comment 7 Bohuslav "Slavek" Kabrda 2014-06-17 13:27:33 UTC
Can you please paste the non-localized text here? I can't see anything unlocalized in the optparse module, so I guess I'm just looking wrong. Thanks.

Comment 8 Bohuslav "Slavek" Kabrda 2015-04-27 12:11:42 UTC
Wei, can you please provide the info requested in comment 7? Thanks.

Comment 9 Noriko Mizumoto 2016-01-05 05:18:41 UTC
Hi Bohuslav
Here is the stings not localized, sorry responding late.

[noriko@noriko ~]$ sudo firstboot --help
Usage: firstboot [options]

Options:
  -h, --help            show this help message and exit
  -m MODULE_DIR, --moduledir=MODULE_DIR
  -r, --reconfig        
  -s, --autoscreenshot  
  -t, --test            
  --themedir=THEME_DIR

Comment 11 Noriko Mizumoto 2016-01-05 05:45:59 UTC
requested info provided on be half of Leah, clear the flag.
rhel-7.2.0 past GA, so cleared the 7.2 flag to put 7.3 flag.

Comment 12 Krishna Babu K 2016-01-15 10:35:29 UTC
rhel_7.3 branch firstboot-19.9-10 stats

Translated LANGs:
./de.po: 24 translated messages.
./es.po: 24 translated messages.
./fr.po: 24 translated messages.
./it.po: 24 translated messages.
./ja.po: 24 translated messages.
./ko.po: 24 translated messages.
./pt_BR.po: 24 translated messages.
./ru.po: 24 translated messages.
./zh_CN.po: 24 translated messages.
./zh_TW.po: 24 translated messages.
 
Fuzzy LANGs:
 
Untranslated LANGs:

Comment 13 Noriko Mizumoto 2016-01-15 13:12:57 UTC
The translation stat says all languages localized 100%.
Please advise if any additional translation work is required, otherwise verify for fix?

Comment 14 sandeep shedmake 2016-01-22 15:59:49 UTC
(In reply to Krishna Babu K from comment #12)
> rhel_7.3 branch firstboot-19.9-10 stats
> 


Correction: used 'make update-po' inside 'po' sub directory and regenerated PO statistics.


./firstboot-19.9/po/firstboot.pot: 0 translated messages, 19 untranslated messages.

./firstboot-19.9/po/de.po: 18 translated messages, 1 untranslated message.
./firstboot-19.9/po/es.po: 18 translated messages, 1 untranslated message.
./firstboot-19.9/po/fr.po: 18 translated messages, 1 untranslated message.
./firstboot-19.9/po/it.po: 18 translated messages, 1 untranslated message.
./firstboot-19.9/po/ja.po: 18 translated messages, 1 untranslated message.
./firstboot-19.9/po/ko.po: 18 translated messages, 1 untranslated message.
./firstboot-19.9/po/pt_BR.po: 18 translated messages, 1 untranslated message.
./firstboot-19.9/po/ru.po: 18 translated messages, 1 untranslated message.
./firstboot-19.9/po/zh_CN.po: 18 translated messages, 1 untranslated message.
./firstboot-19.9/po/zh_TW.po: 18 translated messages, 1 untranslated message.

Comment 15 sandeep shedmake 2016-01-22 16:02:07 UTC
(In reply to Noriko Mizumoto from comment #13)
> The translation stat says all languages localized 100%.
> Please advise if any additional translation work is required, otherwise
> verify for fix?

Please see Comment 14.

Comment 16 Noriko Mizumoto 2016-01-27 09:37:49 UTC
Thank you Sandeep,

[RHEL7.3] Assigned to Jens for localization preparation.

Comment 17 Noriko Mizumoto 2016-01-27 09:45:51 UTC
Wait, this bug has been filed as the result of --help unlocalized. --help localization has now been out of our scope. Therefore this bug is rather closed as won't fix.