#986992 virsh ignores LC_MESSAGES

Package:
libvirt-clients
Source:
libvirt
Description:
Programs for the libvirt library
Submitter:
Marc Haber
Date:
2021-04-15 07:21:04 UTC
Severity:
normal
#986992#5
Date:
2021-04-15 07:19:20 UTC
From:
To:
Hi,

I live in Germany but want my system to use English messages. I have
therefore set:

|[5/4998]mh@fan:~ $ locale
|LANG=de_DE.UTF-8
|LANGUAGE=en
|LC_CTYPE="de_DE.UTF-8"
|LC_NUMERIC=de_DE.UTF-8
|LC_TIME=de_DE.UTF-8
|LC_COLLATE=de_DE.UTF-8
|LC_MONETARY=de_DE.UTF-8
|LC_MESSAGES=en_US.UTF-8
|LC_PAPER="de_DE.UTF-8"
|LC_NAME="de_DE.UTF-8"
|LC_ADDRESS="de_DE.UTF-8"
|LC_TELEPHONE="de_DE.UTF-8"
|LC_MEASUREMENT=de_DE.UTF-8
|LC_IDENTIFICATION="de_DE.UTF-8"
|LC_ALL=

With this setting, virsh still uses the (rather horrible) German
translation.

|[6/4999]mh@fan:~ $ virsh console salida
|Connected to domain 'salida'
|Escape character is ^] (Ctrl + ])
|error: Operation schlug fehl: Aktive Konsol-Sitzung existiert für diese Domain
|
|1 [7/5000]mh@fan:~ $

Am I doing things wrong, or should virsh honor LC_MESSAGES? From where
does the german text come in the first place? stracing virsh only yields
access to /usr/share/locale/en/LC_MESSAGES/libvirt.mo.

Greetings
Marc