I18nBuilder
class I18nBuilder
Builder used to configure i18n options.
Properties
Link copied to clipboard
List of locales which are used for application command names (without defaultLocale).
Link copied to clipboard
Link copied to clipboard
Callables used to resolve a Locale object for the given guild, channel, and user.
Functions
Link copied to clipboard
Registers locales as application command languages.
Link copied to clipboard
Registers a LocaleResolver using Interaction.guildLocale.
Link copied to clipboard
Registers a LocaleResolver using Interaction.locale.
Link copied to clipboard
Register a locale resolver, returning the required Locale object or null.
Link copied to clipboard
Call this with a builder (usually the class constructor) to set the translations provider.