doc / ch.tutteli.atrium.reporting.translating / UsingDefaultTranslator / <init>

<init>

UsingDefaultTranslator(primaryLocale: Locale = Locale.getDefault())

This translator does not translate but uses Translatable.getDefault instead.

Parameters

primaryLocale - The Locale to which the translator translates per default as well as the Locale which will be used in java.lang.String.format, which in turn is used to substitute the placeholders in the resulting translation of TranslatableWithArgs.translatable with the TranslatableWithArgs.arguments. If not defined at all, it will use Locale.getDefault as fallback.

Constructor
This translator does not translate but uses Translatable.getDefault instead.