# LocalizedString

- [JSON representation](https://developers.google.com/wallet/reference/rest/v1/LocalizedString#SCHEMA_REPRESENTATION)
- [TranslatedString](https://developers.google.com/wallet/reference/rest/v1/LocalizedString#TranslatedString)
  - [JSON representation](https://developers.google.com/wallet/reference/rest/v1/LocalizedString#TranslatedString.SCHEMA_REPRESENTATION)

| JSON representation |
|---|
| ``` { "kind": string, "translatedValues": [ { object (`https://developers.google.com/wallet/reference/rest/v1/LocalizedString#TranslatedString`) } ], "defaultValue": { object (`https://developers.google.com/wallet/reference/rest/v1/LocalizedString#TranslatedString`) } } ``` |

| Fields ||
|---|---|
| `kind (deprecated)` | `string` > [!WARNING] > This item is deprecated! Identifies what kind of resource this is. Value: the fixed string `"walletobjects#localizedString"`. |
| `translatedValues[]` | ``object (`https://developers.google.com/wallet/reference/rest/v1/LocalizedString#TranslatedString`)`` Contains the translations for the string. |
| `defaultValue` | ``object (`https://developers.google.com/wallet/reference/rest/v1/LocalizedString#TranslatedString`)`` Contains the string to be displayed if no appropriate translation is available. |

## TranslatedString

| JSON representation |
|---|
| ``` { "kind": string, "language": string, "value": string } ``` |

| Fields ||
|---|---|
| `kind (deprecated)` | `string` > [!WARNING] > This item is deprecated! Identifies what kind of resource this is. Value: the fixed string `"walletobjects#translatedString"`. |
| `language` | `string` Represents the BCP 47 language tag. Example values are "en-US", "en-GB", "de", or "de-AT". |
| `value` | `string` The UTF-8 encoded translated string. |