How to translate commands

Posted by Lerkista on Tue 31 Mar 2020 02:07 AM — 3 posts, 14,639 views.

#0
Hi, i´m using SmaugFuss (recently updated to 1.9.4)

I want to translate the commands to spanish, or make an alias

So for example type "ayuda" instead of "help", "matar" instead of "kill" or have both words for the same command

How smuagfuss assign the commands? i´m a little confused, for example i installed the gboard snippet, the function is do_global_boards() and is declared DECLARED_DO_FUN( do_global_boards );, but in game the command to use it is "gboard", and i can´t find any part of code that make reference to "gboard"

Any one can help me with this?

Thanks
USA Global Moderator #1
Quote:
How smuagfuss assign the commands?


system/commands.dat except for all the places where they're hard-coded

Quote:
i installed the gboard snippet

You're going to need to give us more information than "I installed something from somewhere". Show us exactly what you downloaded and where you got it.
Amended on Tue 31 Mar 2020 03:12 AM by Fiendish
#2
Hi

Thanks, i figured out how to make my commands work

i can edit commands.dat or use cedit to add a new command

Thanks