Setting the language of the command output in the terminal to a local language other than English

After upgrading from Fedora 40 to 41, the language of the message displayed after running the sudo dnf upgrade --refresh command changed from the previously set local language to the default English. What is the reason for this and how can I reset it to the local language?

The reason is difficult to say. This should not happen from a “dnf upgrade refresh”

You can check/change this with localectl. With localctl --help You can see the options you have.
You need to change the :

    VC Keymap: us
   X11 Layout: us

localectl points to the local language, not us.

Please post the output … from the entire localectl

VC Keymap: hu
X11 Layout: hu

Specifically, only after running sudo dnf upgrade --refresh is the message in the terminal in English (complete), the output of other commands is written in the local language after running the command.

Are you using the Fedora Workstation?
Which terminal are you using ?

Fedora Ws, Gnome terminal is used.

I think that the issue with dnf5 is that it isn’t simply translated to your language

4 Likes

That’s exactly what I suspected, thanks.

Same issue here, unlucky.