Locales
LocaleMap
dataclass
#
Bases: LocaleBuilder
An implementation of crescent.LocaleBuilder
that allows you to declare locales as kwargs.
i18n
#
i18n(fallback: str)
Bases: LocaleBuilder
An implementation of crescent.LocaleBuilder
that uses python-i18n
.
⚠️ Translations must be loaded before any commands.