Bug 1015998 - Running plugins message is not translated when run under other locale
Summary: Running plugins message is not translated when run under other locale
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sos
Version: 6.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Shane Bradley
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks: 1276745
TreeView+ depends on / blocked
 
Reported: 2013-10-07 09:08 UTC by Filip Holec
Modified: 2016-04-18 10:27 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1276745 (view as bug list)
Environment:
Last Closed: 2015-10-30 17:34:11 UTC
Target Upstream Version:


Attachments (Terms of Use)

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!).


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