translate

override fun translate(translatable: Translatable): String(source)

Returns the translation of the given translatable or its getDefault in case there is not a translation defined for it.

In case of a TranslatableWithArgs it translates the Translatable of the given TranslatableWithArgs and formats it with its arguments.

Return

The result of the translation for the given translatable.

Parameters

translatable

The Translatable which shall be translated.