Interface Translation
- All Known Subinterfaces:
MessageFormatTranslation,TextTranslation
public interface Translation
Represents a translation from a given translation system.
-
Method Summary
Modifier and TypeMethodDescriptionformat(TranslationArguments parameters) Formats the translation with the given parameters.default voidformatTo(TranslationArguments parameters, ComponentStringBuilder builder) Formats the translation to the givenComponentStringBuilder.
-
Method Details
-
format
Formats the translation with the given parameters.- Parameters:
parameters- the translation parameters- Returns:
- the formatted translation
-
formatTo
Formats the translation to the givenComponentStringBuilder.- Parameters:
parameters- the translation parametersbuilder- the builder
-