Bug 1380336

Summary: When system-wide language is set to German, terminal command outputs are translated only partially! Plus font issue with accents.
Product: Red Hat Enterprise Linux 7 Reporter: Brenda Jarolimkova <bjarolim>
Component: yumAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED WONTFIX QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.0CC: bjarolim, eng-i18n-bugs, ifloodmu, james.antill, ljanda, mdomonko, pnemade, salmy, tpelka
Target Milestone: rcKeywords: Triaged
Target Release: 7.3   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-12 08:16:50 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:

Description Brenda Jarolimkova 2016-09-29 10:46:58 UTC
Description of problem:
If a RHEL system has set a different systemwide language, for example, German, then the command outputs on such a system are translated in a very healfhearted manner. Example:

[root@xen0-4 ~]# less .bash_history
[root@xen0-4 ~]# yum update rhevm-setup
Geladene Plugins: product-id, rhnplugin, search-disabled-repos, security, subscription-manager, versionlock
This system is receiving updates from RHN Classic or RHN Satellite.
Einrichten des Aktualisierungsprozess
Löse Abhängigkeiten auf
--> Führe Transaktionsprüfung aus
---> Package rhevm-setup.noarch 0:3.5.8-0.1.el6ev will be aktualisiert
---> Package rhevm-setup.noarch 0:3.6.9.2-0.1.el6 will be an update
--> Verarbeite Abhängigkeiten: rhevm-setup-plugin-ovirt-engine = 3.6.9.2-0.1.el6 für Paket: rhevm-setup-3.6.9.2-0.1.el6.noarch
--> Verarbeite Abhängigkeiten: rhevm-setup-plugins >= 3.6.4 für Paket: rhevm-setup-3.6.9.2-0.1.el6.noarch
--> Führe Transaktionsprüfung aus
---> Package rhevm-setup-plugin-ovirt-engine.noarch 0:3.5.8-0.1.el6ev will be aktualisiert
---> Package rhevm-setup-plugin-ovirt-engine.noarch 0:3.6.9.2-0.1.el6 will be an update
--> Verarbeite Abhängigkeiten: rhevm-setup-plugin-vmconsole-proxy-helper = 3.6.9.2-0.1.el6 für Paket: rhevm-setup-plugin-ovirt-engine-3.6.9.2-0.1.el6.noarch
--> Verarbeite Abhängigkeiten: rhevm-setup-plugin-ovirt-engine-common = 3.6.9.2-0.1.el6 für Paket: rhevm-setup-plugin-ovirt-engine-3.6.9.2-0.1.el6.noarch
--> Verarbeite Abhängigkeiten: rhevm >= 3.5.6 für Paket: rhevm-setup-plugin-ovirt-engine-3.6.9.2-0.1.el6.noarch
--> Verarbeite Abhängigkeiten: ovirt-engine-extension-aaa-jdbc für Paket: rhevm-setup-plugin-ovirt-engine-3.6.9.2-0.1.el6.noarch
---> Package rhevm-setup-plugins.noarch 0:3.5.4-1.el6ev will be aktualisiert
---> Package rhevm-setup-plugins.noarch 0:3.6.5-1.el6ev will be an update

Not only does the terminal font not support accents, but also the outputs are just translated partially! So you get outputs such as "will be aktualisiert"

German belongs to one of the "supported" languages in Red Hat's tech support, so this is no fun for the Language Support Specialists who have to decipher and translate these outputs, nor does it look professional from a customer perspective. 

Version-Release number of selected component (if applicable): 
I assume that any version is affected by this, since the translations have obviously not been reviewed for x amount of time. And from customer updates, I can see that it doesn't matter what version of RHEL.


How reproducible:
Any time.

Steps to Reproduce:
1. Set system wide language to German, or French, (or any other language than English),
2. and run a command like yum update.
3. Check output 

Actual results:
Accents are not readable: font issue, and translations only partially done. 

Expected results:
Accents should be readable, and the translation either complete, or the output should stay completely in English, but please not both!

Additional info:
If you need help with translations, please let me know, I can maybe help out, depending on my schedule, with German.

Comment 2 Debarshi Ray 2016-10-03 14:41:13 UTC
(In reply to bjarolim from comment #0)
> ---> Package rhevm-setup.noarch 0:3.5.8-0.1.el6ev will be aktualisiert
> ---> Package rhevm-setup.noarch 0:3.6.9.2-0.1.el6 will be an update

My first reaction is that this is due to incomplete translations in yum. The easiest way to check would be to try the same command in another terminal emulator. eg., xterm.

Comment 3 Brenda Jarolimkova 2017-01-10 12:54:19 UTC
Hello there,

are there any updates regarding the progress of this?

Comment 4 Debarshi Ray 2017-01-10 16:39:00 UTC
(In reply to bjarolim from comment #3)
> Hello there,
> 
> are there any updates regarding the progress of this?

See comment 2.

Comment 5 Brenda Jarolimkova 2017-01-18 12:16:05 UTC
Tested:
character set is ok - the character problem is most probably a configuration thing of the server/client

RHEL 7 is a bit better off when it comes to translated content ("- u" a "- ud" are apparently part of the output, not the language), however there are still things that are not translated, or badly formulated in German. 

# yum --verbose update
»rhnplugin«-Plugin wird nicht geladen, da es deaktiviert ist
»product-id«-Plugin wird geladen
»search-disabled-repos«-Plugin wird geladen
»subscription-manager«-Plugin wird geladen
»versionlock«-Plugin wird geladen
Updating Subscription Management repositories.
Config time: 3.662
Yum version: 3.4.3
rpmdb time: 0.000
Alles wird aktualisiert
Aktualisierungsobjekt wird erstellt
Paket-Behälter wird eingerichtet
Reading version lock configuration
pkgsack time: 0.009
up:Obs Init time: 0.239
up:simple updates time: 0.010
up:obs time: 0.002
up:condense time: 0.000
updates time: 0.502
Paket wird nicht aktualisiert, da es bereits aktualisiert ist:  libpciaccess.x86_64 0:0.13.4-2.el7
Paket wird nicht aktualisiert, da es bereits aktualisiert ist:  libpciaccess.x86_64 0:0.13.4-2.el7
Paket wird nicht aktualisiert, da es bereits aktualisiert ist:  python-firewall.noarch 0:0.4.3.2-8.el7
Abhängigkeiten werden aufgelöst
--> Transaktionsprüfung wird ausgeführt
---> Paket NetworkManager.x86_64 1:1.4.0-13.el7_3 markiert, um aktualisiert zu werden
Abhängigkeiten für NetworkManager.x86_64 1:1.4.0-13.el7_3 - ud werden überprüft
---> Paket NetworkManager.x86_64 1:1.4.0-14.el7_3 markiert, um eine Aktualisierung zu werden
Abhängigkeiten für NetworkManager.x86_64 1:1.4.0-14.el7_3 - u werden überprüft
Nach ('NetworkManager-libnm(x86-64)', 'EQ', ('1', '1.4.0', '14.el7_3')) als eine Anforderung von NetworkManager.x86_64 1:1.4.0-14.el7_3 - u wird gesucht
Nach ('ppp', 'EQ', ('0', '2.4.5', None)) als eine Anforderung von NetworkManager.x86_64 1:1.4.0-14.el7_3 - u wird gesucht
Nach ('dbus', 'GE', ('0', '1.1', None)) als eine Anforderung von NetworkManager.x86_64 1:1.4.0-14.el7_3 - u wird gesucht
...


RHEL 6 is only partially translated as can be seen in the bugzilla:

# yum update
Geladene Plugins: product-id, subscription-manager
Einrichten des Aktualisierungsprozess
rhel-6-server-rpms                                                                                                                                                                          | 3.5 kB     00:00     
Löse Abhängigkeiten auf
--> Führe Transaktionsprüfung aus
---> Package audit.x86_64 0:2.3.7-5.el6 will be aktualisiert
---> Package audit.x86_64 0:2.4.5-3.el6 will be an update
---> Package audit-libs.x86_64 0:2.3.7-5.el6 will be aktualisiert
---> Package audit-libs.x86_64 0:2.4.5-3.el6 will be an update
---> Package bash.x86_64 0:4.1.2-33.el6 will be aktualisiert
---> Package bash.x86_64 0:4.1.2-41.el6_8 will be an update
...

Comment 6 Brenda Jarolimkova 2017-01-18 12:17:38 UTC
Anyway, it looks like this affects RHEL 6 as well as 7.

Comment 7 Debarshi Ray 2017-01-18 13:07:43 UTC
I am not sure I understand. Are you saying that the output is same regardless of whether you use gnome-terminal or xterm? Or does the terminal emulator matter?

Comment 8 Brenda Jarolimkova 2017-01-18 13:28:08 UTC
(In reply to Debarshi Ray from comment #7)
> I am not sure I understand. Are you saying that the output is same
> regardless of whether you use gnome-terminal or xterm? Or does the terminal
> emulator matter?

But how would the emulator influence bad translations of command outputs?

Comment 9 Debarshi Ray 2017-01-18 14:05:09 UTC
(In reply to bjarolim from comment #8)
> (In reply to Debarshi Ray from comment #7)
> > I am not sure I understand. Are you saying that the output is same
> > regardless of whether you use gnome-terminal or xterm? Or does the terminal
> > emulator matter?
> 
> But how would the emulator influence bad translations of command outputs?

Well, that is my question to you (see comment 2) since the bug has been filed against gnome-terminal, not yum.

Comment 10 Imogen Flood-Murphy 2017-01-18 14:17:23 UTC
changing component to reflect where the issue lies as it appears to be a yum issue rather than a gnome-terminal issue

Comment 11 Parag Nemade 2017-01-24 06:29:55 UTC
I have a RHEL7.3 VM which is updated by installing all the latest packages from nightly tree. This is originally installed in English language. Now I changed the language to German. Logout and Login and ran "yum update". See the output below
================================================================================
Geladene Plugins: langpacks, product-id, search-disabled-repos, subscription-
                : manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Abhängigkeiten werden aufgelöst
--> Transaktionsprüfung wird ausgeführt
---> Paket vim-common.x86_64 2:7.4.160-1.el7 markiert, um aktualisiert zu werden
---> Paket vim-common.x86_64 2:7.4.160-2.el7 markiert, um eine Aktualisierung zu werden
---> Paket vim-enhanced.x86_64 2:7.4.160-1.el7 markiert, um aktualisiert zu werden
---> Paket vim-enhanced.x86_64 2:7.4.160-2.el7 markiert, um eine Aktualisierung zu werden
---> Paket vim-filesystem.x86_64 2:7.4.160-1.el7 markiert, um aktualisiert zu werden
---> Paket vim-filesystem.x86_64 2:7.4.160-2.el7 markiert, um eine Aktualisierung zu werden
---> Paket vim-minimal.x86_64 2:7.4.160-1.el7 markiert, um aktualisiert zu werden
---> Paket vim-minimal.x86_64 2:7.4.160-2.el7 markiert, um eine Aktualisierung zu werden
--> Abhängigkeitsauflösung beendet

Abhängigkeiten aufgelöst

================================================================================
 Package               Arch          Version                Paketquelle   Größe
================================================================================
Aktualisieren:
 vim-common            x86_64        2:7.4.160-2.el7        Client        5.9 M
 vim-enhanced          x86_64        2:7.4.160-2.el7        Client        1.0 M
 vim-filesystem        x86_64        2:7.4.160-2.el7        Client        8.8 k
 vim-minimal           x86_64        2:7.4.160-2.el7        Client        435 k

Transaktionsübersicht
================================================================================
Aktualisieren  4 Pakete

Gesamte Downloadgröße: 7.4 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for Client
(1/4): vim-enhanced-7.4.160-2.el7.x86_64.rpm               | 1.0 MB   00:03     
(2/4): vim-filesystem-7.4.160-2.el7.x86_64.rpm             | 8.8 kB   00:01     
(3/4): vim-common-7.4.160-2.el7.x86_64.rpm                 | 5.9 MB   00:04     
(4/4): vim-minimal-7.4.160-2.el7.x86_64.rpm                | 435 kB   00:02     
--------------------------------------------------------------------------------
Gesamt                                             1.1 MB/s | 7.4 MB  00:06     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Aktualisieren    : 2:vim-filesystem-7.4.160-2.el7.x86_64                  1/8 
  Aktualisieren    : 2:vim-common-7.4.160-2.el7.x86_64                      2/8 
  Aktualisieren    : 2:vim-enhanced-7.4.160-2.el7.x86_64                    3/8 
  Aktualisieren    : 2:vim-minimal-7.4.160-2.el7.x86_64                     4/8 
  Aufräumen        : 2:vim-enhanced-7.4.160-1.el7.x86_64                    5/8 
  Aufräumen        : 2:vim-common-7.4.160-1.el7.x86_64                      6/8 
  Aufräumen        : 2:vim-filesystem-7.4.160-1.el7.x86_64                  7/8 
  Aufräumen        : 2:vim-minimal-7.4.160-1.el7.x86_64                     8/8 
  Überprüfung läuft: 2:vim-enhanced-7.4.160-2.el7.x86_64                    1/8 
  Überprüfung läuft: 2:vim-minimal-7.4.160-2.el7.x86_64                     2/8 
  Überprüfung läuft: 2:vim-common-7.4.160-2.el7.x86_64                      3/8 
  Überprüfung läuft: 2:vim-filesystem-7.4.160-2.el7.x86_64                  4/8 
  Überprüfung läuft: 2:vim-common-7.4.160-1.el7.x86_64                      5/8 
  Überprüfung läuft: 2:vim-filesystem-7.4.160-1.el7.x86_64                  6/8 
  Überprüfung läuft: 2:vim-enhanced-7.4.160-1.el7.x86_64                    7/8 
  Überprüfung läuft: 2:vim-minimal-7.4.160-1.el7.x86_64                     8/8 

Aktualisiert:
  vim-common.x86_64 2:7.4.160-2.el7       vim-enhanced.x86_64 2:7.4.160-2.el7  
  vim-filesystem.x86_64 2:7.4.160-2.el7   vim-minimal.x86_64 2:7.4.160-2.el7   

Komplett!
===============================================================================

I see you reported 2 issues here one for incorrect font rendering and another missing German translations. But I would like to confirm that there are no issues exists in current RHEL7 nightly packages.

Check you have correct font in use. e.g.
$ fc-match 
DejaVuSans.ttf: "DejaVu Sans" "Book"

Also the correct component should be "yum" for any translations issues.

Comment 12 Brenda Jarolimkova 2017-02-03 10:15:35 UTC
Hi there,

so as you can see the output is half English half German and the German contains errors. For example: um eine Aktualisierung zu werden <- is wrong in German
Downloading packages: <- is in English

So, regarding the font rendering, I've come to the conclusion that this is an individual issue and depends on the font set character set used. But the language part with half English and wrong German can not be influenced by character set. 



(In reply to Parag Nemade from comment #11)
> I have a RHEL7.3 VM which is updated by installing all the latest packages
> from nightly tree. This is originally installed in English language. Now I
> changed the language to German. Logout and Login and ran "yum update". See
> the output below
> =============================================================================
> ===
> Geladene Plugins: langpacks, product-id, search-disabled-repos, subscription-
>                 : manager
> This system is not registered to Red Hat Subscription Management. You can
> use subscription-manager to register.
> Abhängigkeiten werden aufgelöst
> --> Transaktionsprüfung wird ausgeführt
> ---> Paket vim-common.x86_64 2:7.4.160-1.el7 markiert, um aktualisiert zu
> werden
> ---> Paket vim-common.x86_64 2:7.4.160-2.el7 markiert, um eine
> Aktualisierung zu werden
> ---> Paket vim-enhanced.x86_64 2:7.4.160-1.el7 markiert, um aktualisiert zu
> werden
> ---> Paket vim-enhanced.x86_64 2:7.4.160-2.el7 markiert, um eine
> Aktualisierung zu werden
> ---> Paket vim-filesystem.x86_64 2:7.4.160-1.el7 markiert, um aktualisiert
> zu werden
> ---> Paket vim-filesystem.x86_64 2:7.4.160-2.el7 markiert, um eine
> Aktualisierung zu werden
> ---> Paket vim-minimal.x86_64 2:7.4.160-1.el7 markiert, um aktualisiert zu
> werden
> ---> Paket vim-minimal.x86_64 2:7.4.160-2.el7 markiert, um eine
> Aktualisierung zu werden
> --> Abhängigkeitsauflösung beendet
> 
> Abhängigkeiten aufgelöst
> 
> =============================================================================
> ===
>  Package               Arch          Version                Paketquelle  
> Größe
> =============================================================================
> ===
> Aktualisieren:
>  vim-common            x86_64        2:7.4.160-2.el7        Client       
> 5.9 M
>  vim-enhanced          x86_64        2:7.4.160-2.el7        Client       
> 1.0 M
>  vim-filesystem        x86_64        2:7.4.160-2.el7        Client       
> 8.8 k
>  vim-minimal           x86_64        2:7.4.160-2.el7        Client       
> 435 k
> 
> Transaktionsübersicht
> =============================================================================
> ===
> Aktualisieren  4 Pakete
> 
> Gesamte Downloadgröße: 7.4 M
> Is this ok [y/d/N]: y
> Downloading packages:
> No Presto metadata available for Client
> (1/4): vim-enhanced-7.4.160-2.el7.x86_64.rpm               | 1.0 MB   00:03 
> 
> (2/4): vim-filesystem-7.4.160-2.el7.x86_64.rpm             | 8.8 kB   00:01 
> 
> (3/4): vim-common-7.4.160-2.el7.x86_64.rpm                 | 5.9 MB   00:04 
> 
> (4/4): vim-minimal-7.4.160-2.el7.x86_64.rpm                | 435 kB   00:02 
> 
> -----------------------------------------------------------------------------
> ---
> Gesamt                                             1.1 MB/s | 7.4 MB  00:06 
> 
> Running transaction check
> Running transaction test
> Transaction test succeeded
> Running transaction
>   Aktualisieren    : 2:vim-filesystem-7.4.160-2.el7.x86_64                 
> 1/8 
>   Aktualisieren    : 2:vim-common-7.4.160-2.el7.x86_64                     
> 2/8 
>   Aktualisieren    : 2:vim-enhanced-7.4.160-2.el7.x86_64                   
> 3/8 
>   Aktualisieren    : 2:vim-minimal-7.4.160-2.el7.x86_64                    
> 4/8 
>   Aufräumen        : 2:vim-enhanced-7.4.160-1.el7.x86_64                   
> 5/8 
>   Aufräumen        : 2:vim-common-7.4.160-1.el7.x86_64                     
> 6/8 
>   Aufräumen        : 2:vim-filesystem-7.4.160-1.el7.x86_64                 
> 7/8 
>   Aufräumen        : 2:vim-minimal-7.4.160-1.el7.x86_64                    
> 8/8 
>   Überprüfung läuft: 2:vim-enhanced-7.4.160-2.el7.x86_64                   
> 1/8 
>   Überprüfung läuft: 2:vim-minimal-7.4.160-2.el7.x86_64                    
> 2/8 
>   Überprüfung läuft: 2:vim-common-7.4.160-2.el7.x86_64                     
> 3/8 
>   Überprüfung läuft: 2:vim-filesystem-7.4.160-2.el7.x86_64                 
> 4/8 
>   Überprüfung läuft: 2:vim-common-7.4.160-1.el7.x86_64                     
> 5/8 
>   Überprüfung läuft: 2:vim-filesystem-7.4.160-1.el7.x86_64                 
> 6/8 
>   Überprüfung läuft: 2:vim-enhanced-7.4.160-1.el7.x86_64                   
> 7/8 
>   Überprüfung läuft: 2:vim-minimal-7.4.160-1.el7.x86_64                    
> 8/8 
> 
> Aktualisiert:
>   vim-common.x86_64 2:7.4.160-2.el7       vim-enhanced.x86_64
> 2:7.4.160-2.el7  
>   vim-filesystem.x86_64 2:7.4.160-2.el7   vim-minimal.x86_64 2:7.4.160-2.el7
> 
> 
> Komplett!
> =============================================================================
> ==
> 
> I see you reported 2 issues here one for incorrect font rendering and
> another missing German translations. But I would like to confirm that there
> are no issues exists in current RHEL7 nightly packages.
> 
> Check you have correct font in use. e.g.
> $ fc-match 
> DejaVuSans.ttf: "DejaVu Sans" "Book"
> 
> Also the correct component should be "yum" for any translations issues.

Comment 26 Daniel Mach 2019-02-12 08:16:50 UTC
There is no plan to fix this bug during RHEL 7 life cycle.
If you still consider the issue important, please contact your support representative.