doc / ch.tutteli.atrium.reporting.translating

Package ch.tutteli.atrium.reporting.translating

Everything involved in translating ITranslatables.

Types

ArgumentsSupportingTranslator

abstract class ArgumentsSupportingTranslator : ITranslator

Represents an ITranslator which supports ITranslatableWithArgs.

ILocaleOrderDecider

interface ILocaleOrderDecider

Responsible to decide in which order Locales should be processed.

ISimpleTranslatable

interface ISimpleTranslatable : ITranslatable

Something which is ITranslatable and provides a default representation by value.

ITranslatable

interface ITranslatable

Something which is translatable, identified by id with a default representation given by getDefault.

ITranslatableWithArgs

interface ITranslatableWithArgs : ITranslatable

Represents a ITranslatable with arguments.

ITranslationSupplier

interface ITranslationSupplier

A supplier of translations for ITranslatables for particular Locales.

ITranslator

interface ITranslator

Represents a translator of ITranslatables.

TranslatableRawString

data class TranslatableRawString : IRawString

Use this class to represent an ITranslatable which shall be translated and then be treated as raw String in reporting.

TranslatableWithArgs

class TranslatableWithArgs : ITranslatableWithArgs

An ITranslatable which contains placeholders for arguments.

Untranslatable

class Untranslatable : ITranslatable

Represents an ITranslatable which is not translatable but has only a fixed name which serves as getDefault.

UsingDefaultTranslator

class UsingDefaultTranslator : ArgumentsSupportingTranslator

This translator does not translate but uses ITranslatable.getDefault instead and uses Locale.getDefault as primaryLocale if not defined differently via constructor parameter.