ConversationMessageDefinitionTranslation

Represents translated labels and constant values for conversation message definitions in Enhanced Messaging and Messaging for In-App and Web.

This complex type is used as a nested element within the Translations metadata type and is not deployed as a standalone metadata component. It enables multilingual support by allowing constant values and labels to be translated into different languages for customer-facing messaging.

Note

Version 

Introduced in API version 61.0.

Fields 

constantValueTranslations 

  • Type: ConversationMessageConstantValueTranslation[]
  • Required: No
  • Introduced: API version 61.0
  • Description: Optional. An array of constant value translations that define translated versions of constants within the messaging component. Each element provides translations for specific constant values that customers see in the messaging interface.

label 

  • Type: string
  • Required: Yes
  • Introduced: API version 61.0
  • Description: Required. The translated label or display name for the conversation message definition. This represents the name that agents see when selecting messaging components in their preferred language.

name 

  • Type: string
  • Required: Yes
  • Introduced: API version 61.0
  • Description: Required. The unique identifier or name of the conversation message definition being translated. This must match the name of the base ConversationMessageDefinition for which this translation is created.

ConversationMessageConstantValueTranslation Type 

Represents a translated constant value for conversation message definitions.

Version 

Introduced in API version 61.0.

Fields 

name 

  • Type: string
  • Required: Yes
  • Description: Required. The name of the constant value being translated.

value 

  • Type: string
  • Required: Yes
  • Description: Required. The translated value for this constant.

Usage Example 

This complex type is used within ConversationMessageDefinition to provide translations. Here’s an example context:

1<?xml version="1.0" encoding="UTF-8"?>
2<Translations xmlns="http://soap.sforce.com/2006/04/metadata">
3    <fullName>Welcome_Message</fullName>
4    <label>Welcome Message</label>
5    <conversationMessageDefinitionTranslations>
6        <constantValueTranslations>
7            <name>greeting_text</name>
8            <value>Bienvenido</value>
9        </constantValueTranslations>
10        <label>Mensaje de Bienvenida</label>
11        <name>Welcome_Message</name>
12    </conversationMessageDefinitionTranslations>
13</Translations>

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!