WpLocalizableString

data class WpLocalizableString(val direction: WpLocalizableStringDirection? = null, val language: String? = null, val value: String)

Represents a Localizable String as defined in the Web Publication specification.

https://www.w3.org/TR/pub-manifest/#dfn-localizablestrings

Constructors

Link copied to clipboard
fun WpLocalizableString(direction: WpLocalizableStringDirection? = null, language: String? = null, value: String)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard

The direction of text. Note that some text values might instead use the Unicode character RIGHT-TO-LEFT (U+200F)

Link copied to clipboard
val language: String? = null

A BCP 47 language tag

Link copied to clipboard

The string contents.