LocalizedText

data class LocalizedText


Represents a localized string and its corresponding language code.

Summary

Public constructors

LocalizedText(text: String, languageCode: String)

Public properties

String

The BCP-47 language code (e.g. "en-US").

String

The actual localized text.

Public constructors

LocalizedText

LocalizedText(text: String, languageCode: String)

Public properties

languageCode

val languageCodeString

The BCP-47 language code (e.g. "en-US").

text

val textString

The actual localized text.