format

abstract fun format(message: String, parameters: MessageParameters, locale: Locale): String

Formats and returns the message

Return

Parameters

message
the original message string (with parameters)
parameters
List of parameters
locale
locale to be used

open fun format(message: String, parameters: List<Any>, locale: Locale): String

Formats and returns the message

Return

Parameters

message

the original message string (with parameters)

parameters

List of parameters

locale

locale to be used