Package net.dv8tion.jda.api.interactions.commands.localization
package net.dv8tion.jda.api.interactions.commands.localization
Utilities for localization of application commands.
-
ClassDescriptionFunctional interface accepting a localization key (complete path used to get the appropriate translations) and returning a map of discord locales to their localized stringsClass which contains a mapping from
DiscordLocaleto a translated String, similar to aMap<DiscordLocale, String>.A default implementation forLocalizationFunctionBuilder forResourceBundleLocalizationFunction
Use the factory methods inResourceBundleLocalizationFunctionto create instances of this builder