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 1015998

Summary: Running plugins message is not translated when run under other locale
Product: Red Hat Enterprise Linux 6 Reporter: Filip Holec <fholec>
Component: sosAssignee: Shane Bradley <sbradley>
Status: CLOSED WONTFIX QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.5CC: agk, bmr, dkutalek, fholec, gavin, psplicha, sbradley, sos-team
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1276745 (view as bug list) Environment:
Last Closed: 2015-10-30 17:34:11 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:
Bug Depends On:    
Bug Blocks: 1276745    

Description Filip Holec 2013-10-07 09:08:42 UTC
Description of problem:
The sentence 'Running plugins. Please wait ...' is not translated when run with other locale.

Version-Release number of selected component (if applicable):
sos-2.2-44.el6.noarch

How reproducible:
Always

Steps to reproduce:
1. # export LC_ALL="de_DE" (works with any other locale, e.g. it_IT, es_ES, ...)
2. # sosreport -o bootloader --tmp-dir=. --batch
3. 'Plugins werden ausgeführt. Bitte warten ...' is not translated, other text is in english

Actual results:
Only some plugins are run with complete english translation

Expected results:
All plugins are run with complete english translation

Additional info:
Note: This is not an issue on x86_64 and i386. Kernel plugin runs with complete english translation (unlike bootloader, selinux, etc.).

Comment 2 RHEL Program Management 2013-10-14 01:46:00 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 3 Bryn M. Reeves 2014-06-13 16:31:36 UTC
Can you provide some complete output that shows the messages you're referring to?

I'm confused by the reference to x86_64/i386. Are you only seeing this on some arches?

> Plugins werden ausgeführt. Bitte warten ...' 
> is not translated, other text is in english

Is this what you're seeing, or what you expect to see?

Comment 4 Filip Holec 2014-06-19 09:38:57 UTC
Yes, untranslated message 'Plugins werden ausgeführt. Bitte warten ...' only appears on ppc64 and s390x architectures.

Verified with sos-2.2-52.el6.noarch (tested as in 'Steps to reproduce').

Comment 5 Bryn M. Reeves 2014-06-19 11:05:26 UTC
I'm really confused by this report. Surely if you're exporting LANG=de_DE then you *want* messages in German?

Printing 'Plugins werden ausgeführt. Bitte warten ...' would be correct for that locale, no?

We have very incomplete (and out-of-date) translations for non-English languages at the moment but I'm really not clear on what's being requested in this bug.

Please can you include complete output showing the messages in-context and indicating what you expect to see when this bug is fixed.

Comment 6 Filip Holec 2014-06-19 11:53:36 UTC
This bug was reported based on https://bugzilla.redhat.com/show_bug.cgi?id=888488 and I'm not sure if I was mistaken in the description, whether 'sosreport should force all external processes to use the 'C' locale' should also apply on the terminal output.

The point is, that there is output of sosreport command in two languages:
[0 root@auto-ppcp-003 ~]# export LC_ALL="de_DE"
[0 root@auto-ppcp-003 ~]# sosreport -o bootloader --tmp-dir=. --batch

sosreport (version 2.2)


  This command will collect diagnostic and configuration
information from this Red Hat Enterprise Linux system and
installed applications.

  An archive containing the collected information will be
generated in . and may be provided to a Red Hat support
representative.

  Any information provided to Red Hat will be treated in
accordance with the published support policies at:


  https://access.redhat.com/support/

  The generated archive may contain data considered
sensitive and its content should be reviewed by the
originating organization before being passed to any third
party.

  No changes will be made to system configuration.


  Plugins werden ausgeführt. Bitte warten ...

  Completed [1/1] ...      
Creating compressed archive...

Your sosreport has been generated and saved in:
  /root/sosreport-auto-ppcp-003-20140619074828-b448.tar.xz

The md5sum is: e3b506e6da409f1b84bfd9b9bdfab448

Please send this file to your support representative.

If that's ok, you can close this bug.

Comment 7 Bryn M. Reeves 2014-06-19 12:32:44 UTC
> Yes, untranslated message 'Plugins werden ausgeführt. Bitte warten ...' only 
> appears on ppc64 and s390x architectures.

Other way around: this is the only *translated* message that appears. It's the English that is untranslated (in this locale).

It's not ideal but it's been this way for a long time; we use transifex for translations and we have very few contributions so as the text that sos uses in the UI has changed over the years. I'm not sure how we can get resources to work on this (my German certainly isn't up to it!).