Skip to content

Translations

LEGOlord208 edited this page Apr 26, 2017 · 2 revisions

Translating DiscordConsole

DiscordConsole now supports translating!
Basically just create a file with stuff like this:

thing=Sak

...
Well you gotta know what things to put in there.
Don't worry, see the English file in languages.go!

One thing! Any key can end with .dev to only activate if you have the development version!
Example:

update.available=Update available! Version
update.available.dev=Latest stable release:

Same with the special console. translation.
That let's you change the console. prefix when using DiscordConsole as a selfbot.

Running

Just use the --lang parameter. You can point it to a file!

DiscordConsole --lang <file>
Clone this wiki locally