Companion

object Companion

Properties

Link copied to clipboard

BCP-47 tag for an undefined language.

Functions

Link copied to clipboard
fun fromJSON(json: Any?, warnings: WarningLogger? = null): LocalizedString?

Parses a LocalizedString from its RWPM JSON representation. If the localized string can't be parsed, a warning will be logged with warnings.

Link copied to clipboard

Shortcut to create a LocalizedString using a map of translations indexed by the BCP 47 language tag.