localizable_message
structure represents a localizable string or message template. Services include one or more localizable message templates in the errors they report so that clients can display diagnostic messages in the native language of the user. Services can include localizable strings in the data returned from operations to allow clients to display localized status information in the native language of the user.
{
"args": [ "string", "string" ], "default_message": "string", "id": "string" }
<?xml version="1.0" ?>
<ns0:LocalizableMessage xmlns:ns0="http://vmware.com/vapi/std" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <default_message>string</default_message> <id>string</id> <args-array> <array-item>string</array-item> <array-item>string</array-item> </args-array> </ns0:LocalizableMessage> |
Name | Type | Required | Description |
---|---|---|---|
id* |
string | Yes | Unique identifier of the localizable string or message template. This identifier is typically used to retrieve a locale-specific string or message template from a message catalog. |
default_message* |
string | Yes | The value of this localizable string or message template in the en_US (English) locale. If com.vmware.vapi.std.localizable_message.id refers to a message template, the default message will contain the substituted arguments. This value can be used by clients that do not need to display strings and messages in the native language of the user. It could also be used as a fallback if a client is unable to access the appropriate message catalog. |
args* |
List<string> | Yes | Arguments to be substituted into a message template. |
Copyright © 2014. All Rights Reserved.