discordjs / Commando

Official command framework for discord.js
Apache License 2.0
494 stars 243 forks source link

Localisation #197

Open Gawdl3y opened 5 years ago

Gawdl3y commented 5 years ago

A system needs to be added to allow all built-in text to be translated to other languages or customised for any other reason. This system should also be usable by non-built-in components, allowing for easier translation of bots. The current locale should be a guild-specific setting, and locales should implement the Loader/Loadable functionality (depends on #196).

perzeuss commented 4 years ago

As promised, I'm working on that issue and have made some design decisions:

perzeuss commented 4 years ago

Update: I'm almost done. I've implemented the feature on my private bot and everything seems to work. Only the translations for the type validations are missing.

Torbraw commented 3 years ago

Any news when this will be implemented officially? Thanks

Kaon68 commented 3 years ago

@perzeuss : 10 months later, is it still "almost done" ? Something can be done to help you achieve this ? What is the roadmap to merge this into an official release (with documentation ^^) ?

thx :)

perzeuss commented 3 years ago

@Torbraw @Kaon68 Please look at the PR for this issue: https://github.com/discordjs/Commando/pull/324#issuecomment-780927084

@Gawdl3y did not like my solution and I started to rewrite it but I had not time yet to complete that rewrite, because I've other work to do with higher priority.