In Seyfert the possibility to take your bot to multiple locales is quite simple.
How to use the locales
Seyfert provides a way to use the locales in your bot. The way to do it is quite simple.
There are some decorators that can be used to use the locales in your code.
Using @LocalesT
decorator
This decorator will get all the locales that you have defined as DefaultLocale
.
Using @GroupsT
decorator
This decorator has a special structure and can be a bit confusing.
The decorator has the following structure:
Once you understand how it works, you can use it as follows:
Using locales
object property
Seyfert provides a special property to add localizations in command options.