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

withoutTranslations

fun withoutTranslations(primaryLocale: Locale = java.util.Locale.getDefault()): ReporterBuilder.ObjectFormatterOptions
Deprecated: Use reporterBuilder from package domain.builders.reporting; will be removed with 1.0.0

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 java.util.Locale.getDefault is used.

Parameters

primaryLocale - The Locale used to format arguments of TranslatableWithArgs.