mojira.dev
MC-128450

Brigadier: Command error messages are not translated

Almost all command error messagesare not translated. The jsons of them use key "text" instead of "translate" and "with".

You can set your game name a languages which is not English, then run a command. When it succeeds, it prints translated message. Instead when it fails, it prints untranslated message.

You can use a command block. For example, use a command block and run /kill @e[name="abc"] and use /data to get the LastOutput of it. You will find {"text":"No entity was found"} instead of {"translate":"commands.…"}.

Linked issues

Comments 4

And this bug has already existed in earlier versions of 1.13 snapshot.

Maybe fixed in 18w22b?

Yes, it is fixed, but this is a duplicate of MC-125862

There more "Affects Versions" of this bug.

SolidBlock

(Unassigned)

Confirmed

brigadier, error-code, error-message, json-text, translation

Minecraft 18w15a, Minecraft 18w19b

Retrieved