translate

abstract 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.

Return

The result of the translation for the given translatable.

Parameters

translatable

The Translatable which shall be translated.