abstract class ArgumentsSupportingTranslator : ITranslator
Represents an ITranslator which supports ITranslatableWithArgs. |
|
interface ILocaleOrderDecider
Responsible to decide in which order Locales should be processed. |
|
interface ISimpleTranslatable : ITranslatable
Something which is ITranslatable and provides a default representation by value. |
|
interface ITranslatable
Something which is translatable, identified by id with a default representation given by getDefault. |
|
interface ITranslatableWithArgs : ITranslatable
Represents a ITranslatable with arguments. |
|
interface ITranslationSupplier
A supplier of translations for ITranslatables for particular Locales. |
|
interface ITranslator
Represents a translator of ITranslatables. |
|
abstract class PropertiesBasedTranslationSupplier<in T> : ITranslationSupplier
A base class for properties based ITranslationSuppliers which provides a loading and caching mechanism of properties files. |
|
class PropertiesPerEntityAndLocaleTranslationSupplier : PropertiesBasedTranslationSupplier<String>
Represents an ITranslationSupplier which is based on properties-files which are structured per entity (enum, object or class) and Locale. |
|
class PropertiesPerLocaleTranslationSupplier : PropertiesBasedTranslationSupplier<Locale>
Represents an ITranslationSupplier which is based on properties-files which are structured per Locale. |
|
class ResourceBundleBasedTranslator : ArgumentsSupportingTranslator
Represents an ITranslator which reuses ResourceBundle properties based capabilities but uses an enhanced fallback mechanism. Instead of falling back to Locale.getDefault one is able to specify fallback Locale oneself. Whether this includes Locale.getDefault or not is up to the user. |
|
data class TranslatableRawString : IRawString
Use this class to represent an ITranslatable which shall be translated and then be treated as raw String in reporting. |
|
class TranslatableWithArgs : ITranslatableWithArgs
An ITranslatable which contains placeholders for arguments. |
|
class Translator : ArgumentsSupportingTranslator
Represents an ITranslator which uses an ITranslationSupplier to retrieve translations and LocaleOrderDecider to determine in which order it should try to find translations for a given ITranslatable. |
|
class UsingDefaultTranslator : ArgumentsSupportingTranslator
This translator does not translate but uses ITranslatable.getDefault instead and uses Locale.getDefault as primaryLocale if not defined differently via constructor parameter. |