| 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: | yum | Assignee: | 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.0 | CC: | bjarolim, eng-i18n-bugs, ifloodmu, james.antill, ljanda, mdomonko, pnemade, salmy, tpelka |
| Target Milestone: | rc | Keywords: | 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
(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. Hello there, are there any updates regarding the progress of this? (In reply to bjarolim from comment #3) > Hello there, > > are there any updates regarding the progress of this? See comment 2. 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
...
Anyway, it looks like this affects RHEL 6 as well as 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? (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? (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. changing component to reflect where the issue lies as it appears to be a yum issue rather than a gnome-terminal issue 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.
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. 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. |