Localised

data class Localised<T>(val default: T, val translations: MutableMap<Locale, String>)

Representation of a localised object.

Parameters

T

the type of the object

Constructors

Link copied to clipboard
constructor(default: T, translations: MutableMap<Locale, String>)

Properties

Link copied to clipboard
val default: T

the default translations

Link copied to clipboard

a map containing all localisations