doc / ch.tutteli.atrium.reporting / ReporterBuilder / withoutTranslations

withoutTranslations

fun withoutTranslations(primaryLocale: Locale = Locale.getDefault()): ObjectFormatterOptions

Uses UsingDefaultTranslator as Translator where the given primaryLocale is used to format arguments of TranslatableWithArgs.

UsingDefaultTranslator does not require a TranslationSupplier nor a LocaleOrderDecider and thus the options to specify implementations of them are skipped.

Notice that UsingDefaultTranslator does not translate but uses what Translatable.getDefault returns. Also notice, that if you omit the primaryLocale then Locale.getDefault is used.

Parameters

primaryLocale - The Locale used to format arguments of TranslatableWithArgs.