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

ITranslationSupplier

interface ITranslationSupplier

A supplier of translations for ITranslatables for particular Locales.

Functions

get

abstract fun get(translatable: ITranslatable, locale: Locale): String?

Returns the translation for the given translatable for the given locale or null if it does not have any.