interface ITranslationSupplier
A supplier of translations for ITranslatables for particular Locales.
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. |
abstract class PropertiesBasedTranslationSupplier<in T> : ITranslationSupplier
A base class for properties based ITranslationSuppliers which provides a loading and caching mechanism of properties files. |