atrium-core-impl-robstoll-lib / ch.tutteli.atrium.reporting.translating

Package ch.tutteli.atrium.reporting.translating

Types

CoroutineBasedLocaleOrderDecider

class CoroutineBasedLocaleOrderDecider : LocaleOrderDecider

Responsible to determine in which order Locales should be processed.

PropertiesBasedTranslationSupplier

abstract class PropertiesBasedTranslationSupplier<in T> : TranslationSupplier

A base class for properties based TranslationSuppliers which provides a loading and caching mechanism of properties files.

PropertiesPerEntityAndLocaleTranslationSupplier

class PropertiesPerEntityAndLocaleTranslationSupplier : PropertiesBasedTranslationSupplier<String>

Represents a TranslationSupplier which is based on properties-files which are structured per entity (enum, object or class) and Locale.

PropertiesPerLocaleTranslationSupplier

class PropertiesPerLocaleTranslationSupplier : PropertiesBasedTranslationSupplier<Locale>

Represents a TranslationSupplier which is based on properties-files which are structured per Locale.

TranslationSupplierBasedTranslator

class TranslationSupplierBasedTranslator : ArgumentsSupportingTranslator

Represents a Translator which uses a TranslationSupplier to retrieve translations and CoroutineBasedLocaleOrderDecider to determine in which order it should try to find translations for a given Translatable.