doc / ch.tutteli.atrium.domain.builders.reporting / ReporterBuilderCommon / withoutTranslations

withoutTranslations

abstract fun withoutTranslations(primaryLocale: Locale): ObjectFormatterOption

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.

Parameters

primaryLocale - The Locale used to format arguments of TranslatableWithArgs.