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

<init>

UsingDefaultTranslator(primaryLocale: Locale = getDefaultLocale())

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 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 getDefaultLocale as fallback.

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