Translate commands in command-line interface

Why some softwares with functions or command-line interface, as Excel or AutoCAD, translate their commands?

Translating menus or icon is useful because there is a logical approach, but when the user must enter a command in a software in another language, and user need a mnemonic approach, in my opinion, command change complicate the experience.

I think this method is not useful for experienced users and not even for new users.