rpm-software-management/dnf — pull request #176 by misli (2014-10-31 13:03:28+00:00)
Title: use LANG=C when invoking 'dnf help' and 'sed' with regular expressions

For the completion script to work properly with different languages, you need to specify LANG=C when invoking sed, because depending on current LANG environment variable, regular expressions (ranges like [a-z]) does not work correctly.
It is probably good idea to use LANG=C when invoking "dnf help" too, because some translations could also break the completion.