Localized variant of a text in a particular language.
Generated from protobuf message google.type.LocalizedText
| Methods |
| public __construct( $data = NULL) Constructor.
|
| public getLanguageCode() The text's BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Generated from protobuf field string language_code = 2;
|
| public getText() Localized string in the language corresponding to `language_code' below. Generated from protobuf field string text = 1;
|
| public setLanguageCode( $var) The text's BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Generated from protobuf field string language_code = 2;
|
| public setText( $var) Localized string in the language corresponding to `language_code' below. Generated from protobuf field string text = 1;
|
| Properties |
| protected $language_code = '' The text's BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Generated from protobuf field string language_code = 2; |
| protected $text = '' Localized string in the language corresponding to `language_code' below. Generated from protobuf field string text = 1; |
| Methods |