# LocalizedText


```
data class LocalizedText
```

<br />

*** ** * ** ***

Represents a localized string and its corresponding language code.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/LocalizedText#LocalizedText(kotlin.String,kotlin.String)(text: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html, languageCode: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/LocalizedText#languageCode()` The BCP-47 language code (e.g. "en-US"). |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/LocalizedText#text()` The actual localized text. |

## Public constructors

### LocalizedText

```
LocalizedText(text: String, languageCode: String)
```

## Public properties

### languageCode

```
val languageCode: String
```

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

### text

```
val text: String
```

The actual localized text.