Skip to main content

XTM Connect – Adobe Marketo Engage 2.10

Enabling the translation of Adobe Marketo Engage button labels in XTM Cloud

When a content item is sent to XTM Cloud, for translation, from Adobe Marketo Engage, the translatable texts it contains are configured to be imported into XTM Cloud and displayed for translation in XTM Workbench.

Enabling the translation of button labels in emails

Adobe Marketo Engage email content is one of the content types that can be sent to XTM Cloud, for translation. An author can write an email, in Adobe Marketo Engage, using one of the email templates defined on that instance of Adobe Marketo Engage. They can then request translation of that email.

However, by default, although email Subject and Body texts are sent for translation, button labels (the short texts on buttons, such as Save), are not.

An Administrator can configure Adobe Marketo Engage email templates so that button labels, as well as Subject and Body texts, in emails created with those email templates are sent for translation.

  • We recommend that you adjust email templates in this way so that future emails created with them are sent for translation with their button texts, if present. The procedure below describes how to do this.

  • We do not recommend that you adjust existing emails so that the button texts in them are sent for translation. The method for doing so is complicated, and it is easier to create a new email, using a modified email template, and paste the existing email into it and resend it for translation. For this reason, the method for adjusting existing emails for this purpose is not described.

To enable the translation of button labels in emails:
  1. In Adobe Marketo Engage, go to the Design Studio.

  2. On the left, in the content types list, select Email Templates. The email templates defined in your instance of Adobe Marketo Engage are displayed.

  3. Select an email template in which you want to make one or more button texts translatable. (You can include specific buttons, and ignore others, as required.) The email template opens in its own tab screen on the right of the content types list.

  4. At the top of the tab screen, select the Edit Draft button. The email template contents are displayed in an editor.

    • In the email template code listing, each button label is identified by a unique variable, which is then used where needed.

    • These variables are listed in the <head> section at the start of the email template code. This view may differ from the templates that you are using. However, it is often tagged with this comment: <-- Marketo Variable Definitions -->.

      Example, for the CALL TO ACTION button label:

    Variable

    Description

    <a href="${ctaLink}"&gt;${ctaLinkText}</a>

    The unique ${ctaLinkText} text declares the variable that is used for the button text (see next line).

    <meta class="mktoString" id="ctaLinkText" mktoname="Button Label" default="CALL TO ACTION" mktoModuleScope="true"/>

    The default text is the actual button label text that you see on screen. (In this example, it is CALL TO ACTION).

  5. You can enable translation of one or more button labels in the email template code listing. In each case, press Ctrl-F to display the SEARCH CODE popup.

  6. In the Find box, enter the relevant variable text for the button whose label text you want to make translatable. In this example, it is ctaLinkText.

  7. In the Replace box, enter the relevant variable text again, but insert "Translate" (with no quotation marks or extra blank space) at the end of it. In this example, it is: ctaLinkTextTranslate.

  8. Repeat steps 7. and 8. for every occurrence of the variable text for the button whose label text you want to make translatable. At the very least, make the described change in the variable declaration and the variable that is used later in email, in the code.

  9. To apply your settings, contact XTM International Support and ask the team to create a filter for this content.

Contacting XTM Support

To request support

Visit our Support Portal.