After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 794329 - Inappropriate output localisation in terse (-t) mode
Inappropriate output localisation in terse (-t) mode
Status: RESOLVED OBSOLETE
Product: NetworkManager
Classification: Platform
Component: nmcli
1.2.x
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2018-03-14 13:40 UTC by Andrey
Modified: 2020-11-12 14:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andrey 2018-03-14 13:40:54 UTC
nmcli tool applies output localisation even in terse (-t) mode where it isn't required.

Example:
Log in as a user with LC_ALL=C or POSIX:
> nmcli -t -f general.state connection show <connection_name>
< GENERAL.STATE:activated
Log in as a user with LC_ALL=ru_RU.UTF-8 (don't use sudo in this case!):
> nmcli -t -f general.state connection show <connection_name>
< GENERAL.СОСТОЯНИЕ:включено
Temporary solution:
Log in as a user with LC_ALL=ru_RU.UTF-8:
> LC_ALL=POSIX nmcli -t -f general.state connection show <connection_name>
< GENERAL.STATE:activated

As shown in the example you get a mix of English and localized output that is not what you expect from the mode "designed and suitable for computer (script) processing".
Comment 1 André Klapper 2020-11-12 14:26:39 UTC
bugzilla.gnome.org is being shut down in favor of a GitLab instance. 
We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time.

If you still use NetworkManager and if you still see this bug / want this feature in a recent and supported version of NetworkManager, then please feel free to report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/

Thank you for creating this report and we are sorry it could not be implemented (workforce and time is unfortunately limited).