open fun withoutTranslations(primaryLocale: Locale = java.util.Locale.getDefault()): 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. Also notice, that if you omit the primaryLocale then java.util.Locale.getDefault is used.
primaryLocale
- The Locale used to format arguments of TranslatableWithArgs.