GNOME Bugzilla – Bug 794329
Inappropriate output localisation in terse (-t) mode
Last modified: 2020-11-12 14:26:39 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".
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).