ArgumentsSupportingTranslator
Represents a Translator which supports TranslatableWithArgs.
Therefore, it provides a default implementation for translate but in turn defines an abstract method translateWithoutArgs which sub-classes have to implement.
Parameters
The Locale to which the translator translates per default as well as the Locale which will be used in String.format, which in turn is used to substitute the placeholders in the resulting translation of TranslatableWithArgs.translatable with the TranslatableWithArgs.arguments.
Used in case a translation for a given Translatable is not defined for primaryLocale or one of its secondary alternatives -- the fallback Locales are used in the given order.
Inheritors
Functions
Returns the translation of the given translatable or its getDefault in case there is not a translation defined for it.