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

TranslationSupplier

interface TranslationSupplier

A supplier of translations for Translatables for particular Locales.

Functions

get

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

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