Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
LocalizedString
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
| Pola |
kind (deprecated) |
string
Określa rodzaj danego zasobu. Wartość: ustalony ciąg znaków "walletobjects#localizedString".
|
translatedValues[] |
object (TranslatedString)
Zawiera tłumaczenia ciągu znaków.
|
defaultValue |
object (TranslatedString)
Zawiera ciąg znaków do wyświetlenia, jeśli nie jest dostępne odpowiednie tłumaczenie.
|
TranslatedString
| Zapis JSON |
{
"kind": string,
"language": string,
"value": string
} |
| Pola |
kind (deprecated) |
string
Określa rodzaj danego zasobu. Wartość: ustalony ciąg znaków "walletobjects#translatedString".
|
language |
string
Reprezentuje tag języka BCP 47. Przykładowe wartości to „en-US”, „en-GB”, „de” i „de-AT”.
|
value |
string
Przetłumaczony ciąg znaków zakodowany w UTF-8.
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],["The document outlines JSON structures for representing localized strings. A main structure contains a deprecated `kind`, an array of `translatedValues` (objects), and a `defaultValue` (object). Each `translatedValue` and `defaultValue` includes another structure with a deprecated `kind`, a `language` tag (BCP 47 format), and a `value` representing the UTF-8 encoded translated string. These structures enable managing multiple language translations for a given string.\n"]]