Formatter

sealed interface Formatter(source)

Represents a formatter interface used for defining different formatting strategies for translations within the Tolgee platform.

The formatter determines how translation messages with parameters are rendered. Available implementations are ICU for International Components for Unicode (ICU) formatting and Sprintf for sprintf-style formatting.

Inheritors

Types

Link copied to clipboard
data object ICU : Tolgee.Formatter

Represents the ICU formatter for localization and translation processing.

Link copied to clipboard

Represents the Sprintf formatting logic used for string localization and translation.