T
- The type of content which can be translated by this handler.public static interface TranslationHost.Translator<T>
Modifier and Type | Method and Description |
---|---|
T |
translate(TranslationContext context,
T object)
Translates the given content object in the specified context.
|
@Nullable T translate(@NotNull TranslationContext context, @NotNull T object)
context
- The context of the specified content.object
- The object to translate.null
if the content could not be translated.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210