Popcorn-moe / migi

Our right hand to write Discord bots
MIT License
7 stars 3 forks source link

i18n support #4

Open lightdiscord opened 6 years ago

lightdiscord commented 6 years ago

For things like desc or maybe name, it could be fun to have a multi-language support.

cchudant commented 6 years ago

yeah i was wondering the same some error messages are in French, some are in English, and every normal message sent is in French

there's a lot of things to think about:

lightdiscord commented 6 years ago

You can use both, an administrator can define the default language of his server and a user can define his own language.

The problem will arise on the interaction between several users if two users do not have the same language, which one should we display? The server language ?

cchudant commented 6 years ago

yeah so i think we just need a serverwide configuration

then next problem, we need a database to save guild configurations do we use a json file? mongodb server? this should be configurable and filesystem / none by default