LocalizedString
필드 |
kind (deprecated) |
string
리소스 종류를 식별합니다. 값: 고정 문자열 "walletobjects#localizedString" .
|
translatedValues[] |
object (TranslatedString )
문자열 번역을 포함합니다.
|
defaultValue |
object (TranslatedString )
적절한 번역을 사용할 수 없는 경우 표시할 문자열을 포함합니다.
|
TranslatedString
JSON 표현 |
{
"kind": string,
"language": string,
"value": string
} |
필드 |
kind (deprecated) |
string
리소스 종류를 식별합니다. 값: 고정 문자열 "walletobjects#translatedString" .
|
language |
string
BCP 47 언어 태그를 나타냅니다. 값의 예시로는 'en-US', 'en-GB', 'de', 'de-AT' 등이 있습니다.
|
value |
string
UTF-8로 인코딩된 번역된 문자열입니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-11-13(UTC)
[null,null,["최종 업데이트: 2024-11-13(UTC)"],[[["`LocalizedString` objects store translations for a string, including a default value if no translation is available."],["The `translatedValues` field within `LocalizedString` holds an array of `TranslatedString` objects, each representing a translation in a specific language."],["`TranslatedString` objects contain the language code (`language`) and the actual translated string (`value`)."],["If no suitable translation is found in `translatedValues`, the `defaultValue` field's `TranslatedString` object is used for display."]]],["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"]]