doc / ch.tutteli.atrium.reporting.translating / ITranslator

ITranslator

interface ITranslator

Represents a translator of ITranslatables.

Functions

translate

abstract fun translate(translatable: ITranslatable): String

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

Inheritors

ArgumentsSupportingTranslator

abstract class ArgumentsSupportingTranslator : ITranslator

Represents an ITranslator which supports ITranslatableWithArgs.