localizeOrNull
Localizes the provided path, with the provided locale, or returns null if the path does not exist.
Parameters
The Locale to use when fetching the localization bundle
The path of the localization template, prefixed with localizationPrefix unless starting with /
The entries to fill the template with
Localizes the provided path, with the best locale available, or returns null if the path does not exist.
Parameters
The path of the localization template, prefixed with localizationPrefix unless starting with /
The entries to fill the template with
Deprecated
Use the Locale overload
Localizes the provided path, with the provided locale, or returns null if the path does not exist.
Parameters
The DiscordLocale to use when fetching the localization bundle
The path of the localization template, prefixed with localizationPrefix unless starting with /
The entries to fill the template with