PylonTranslator

The Translator for a given PylonAddon. This translator handles the translation of any keys in the form of pylon.<addon>.<key>, where <addon> is the namespace of the addon and <key> is the path to the translation key within the language files for that addon.

Use translator to obtain an instance.

Types

Link copied to clipboard

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun canTranslate(key: String, locale: Locale): Boolean
Link copied to clipboard
@NotNull
open fun hasAnyTranslations(): @NotNull TriState
Link copied to clipboard
open override fun name(): Key
Link copied to clipboard
open override fun translate(key: String, locale: Locale): MessageFormat?
open override fun translate(component: TranslatableComponent, locale: Locale): Component?