Localizable Interaction
Allows you to configure the localization settings of this interaction event, retrieve a LocalizableInteractionHook, as well as retrieve a localization context from it.
Always combined with LocalizableReplyCallback and/or LocalizableEditCallback.
Configuring localization bundle and prefix
You can change the bundle and prefix in the first lines of your interaction handler, with localizationBundle and localizationPrefix.
Configuring the user / guild locale source
They are by default retrieved from the interaction, but you can get them in other ways by implementing UserLocaleProvider and/or GuildLocaleProvider.
See also
Inheritors
Properties
Functions
Retrieves a DefaultMessages instance, using a locale suitable for messages sent to the user.
Returns the localized message at the following path, using the guild's locale and parameters.
Returns the localized message at the following path, using the guild's locale and parameters.
Returns a localization context for the provided bundle name and path prefix, using the locales from UserLocaleProvider.getDiscordLocale and GuildLocaleProvider.getDiscordLocale.
Returns the localized message at the following path, using the provided locale and parameters.
Returns the localized message at the following path, using the user's locale and parameters.
Returns the localized message at the following path, using the user's locale and parameters.