Interface TranslationService
public interface TranslationService
Loads the vanilla language files so the plugin can render translatable components itself,
for example when a message has to be flattened to plain text.
-
Method Summary
Modifier and TypeMethodDescriptionvoidRegisters the loaded translations with adventure's global translator.voidreload()Re-reads the language files for every locale in use.
-
Method Details
-
reload
void reload()Re-reads the language files for every locale in use. -
initGlobalTranslator
void initGlobalTranslator()Registers the loaded translations with adventure's global translator.
-