TranslatedString

data class TranslatedString(val translation: List<TranslatedString.Translation> = emptyList())(source)

Internationalized text content.

Constructors

Link copied to clipboard
constructor(translation: List<TranslatedString.Translation> = emptyList())

Types

Link copied to clipboard
data class Translation(val text: String, val language: String? = null)

A localized text variant.

Properties

Link copied to clipboard

Localized text variants; at least one is required.