XTM App Installation Guide

View as Markdown
Last updated November 30, 2026

XTM is a cloud-based translation management platform designed to streamline language localization and content distribution across multiple systems. With its user-friendly and cost-effective features, XTM enables businesses to efficiently manage translations, ensuring consistent multilingual experiences at scale.

Through the Contentstack Marketplace, you can seamlessly integrate the XTM app into your stack to create and manage localized versions of your content with ease.

Prerequisites

Follow this step-by-step guide to install and configure the XTM app within your stack.

Steps for Execution

  1. Retrieve your Credentials from XTM
  2. Create Workflow in Contentstack
  3. Install and Configure the XTM app in Marketplace
  4. Use the XTM App for Machine Translation
  5. Use the XTM app for Human Translation
  1. Retrieve your Credentials from XTM

    To configure and connect the XTM app within Contentstack, you need to fetch the credentials from your XTM account by following the given steps:

    1. Log in to your XTM Cloud account and copy the Base URL, Company name, and Password. During the app configuration, paste them into the XTM Base URL, User Company Name, and XTM Password fields.
    2. To get the User ID, navigate to Users > User list, select the relevant user, and click the “Info” icon. Copy the ID and paste it into the XTM User Identifier field during the app configuration.Click to enlarge
    3. To get the Customer ID, navigate to Customers > Customer list, select the relevant customer and click the “Info” icon. Copy the ID and paste it into the XTM Customer ID field during the app configuration.Click to enlarge
    4. To create projects with the Language option in the Entry Sidebar or the Full Page app, you need a workflow in XTM. The Template option does not need one, because an XTM template defines its own workflow, source language and target languages.

      To do this, navigate to Configuration > Settings > Workflow. Under Workflow definitions, create a new workflow by clicking the Add button or select an existing one. Copy the Workflow definition name and paste it into the XTM Workflow field during the app configuration.

      Click to enlarge

    Note In XTM, you must define the languages and create a translation template to enable the translation process. Ensure that the languages you configure in XTM also exist in your Contentstack to keep the language configuration consistent between the two systems.

    Add Custom Fields in XTM

    When you map custom fields from Contentstack into XTM, you add context and traceability to your localization process. For example, add the Submitter’s Name, Contentstack Entry Link and Contentstack Stack API custom fields during the app configuration.

    To add custom fields in XTM, follow the given steps:

    1. Navigate to Configuration > Data > Custom fields, and then under Project custom fields, click the Add button.Click to enlarge
    2. In the Add custom field modal, enter the Field name, select Field type as Text field from the dropdown, and click Save.Click to enlarge

      Note Select the checkbox for the Active field.

  2. Create Workflow in Contentstack

    Before using the XTM app for translations, you must define a Workflow to create a project and initiate the translation process.

    To create a workflow, log in to your Contentstack account, and follow the steps:

    1. Navigate to your stack and click Settings in the top navigation panel. Then click Workflows. If you do not see Settings, click More first. Click the + New Workflow button to add a new workflow.Click to enlarge
    2. On the workflow creation page, enter the following details:
      1. Provide the Workflow Name and Description.Click to enlarge
      2. Set the Scope of the workflow that includes setting up the branches and content types.Click to enlarge
      3. Define the Workflow Stages.Click to enlarge
      4. Select the Workflow superuser(s) from the provided dropdown. To activate the workflow, click the Enable Workflow toggle button.Click to enlarge
    3. After filling up the details, click Save. Contentstack creates a workflow that you configure in the XTM app configuration.

    Additional Resource For more information on workflows, refer to the Workflows documentation.

  3. Install and Configure the XTM app in Marketplace

    To install the app in Contentstack, log in to your Contentstack account and follow the steps below:

    1. Navigate to the “App Switcher” icon in the top-right corner and click Marketplace.Click to enlarge
    2. Click Apps from the left panel.
    3. Within the Marketplace, locate the XTM app and click Install.Click to enlarge
    4. In the pop-up window, select the stack where you want to install the XTM app, accept the Terms of Service, and click the Authorize & Install button.Click to enlarge
    5. On the Configuration screen, enter the following details:
      1. XTM Fields: Enter your XTM credentials to connect Contentstack with your XTM account.
        1. Provide the XTM Base URL, XTM User Identifier, User Company Name, XTM Customer ID, XTM Password, and XTM Workflow retrieved in Retrieve your Credentials from XTM.Click to enlarge
        2. XTM supports two types of translation methods. Under Select Translation Type, select one:
          • Machine-Translate: Machine Translation automatically translates your entry content as soon as you update the workflow, enabling faster processing and translation of data. This option is ideal for quick turnarounds or when you do not need human review.

            Machine-Translate is, by default, selected.

            Additional Resource For detailed steps on machine translation, refer to the Use the XTM App for Machine Translation section.

          • Human-Translate: Human Translation allows translators on the XTM side to manually translate the content. While this method takes longer than machine translation, it provides greater accuracy and quality control.

            Additional Resource For detailed steps on human translation, refer to the Use the XTM App for Human Translation section.

        3. XTM Templates help you define the languages into which you want to translate your content. Click the Get XTM Template button. A dropdown lists the templates available in XTM. Select the appropriate template that matches your localization needs.Click to enlarge
        4. By selecting the XTM Custom Fields (Submitter’s Name, Contentstack Entry Link, or Contentstack Stack API), you can map additional metadata from Contentstack to XTM. The app sends these fields to XTM when it creates a translation project.Click to enlarge

          Note

          • The fields contentstack_initiator_name, contentstack_entry_link, and contentstack_stack_api must exist in the Custom fields section of the XTM app. For more details, refer to the Add Custom Fields in XTM section.
          • If you select Submitter’s Name, it will appear in the Status section of the Contentstack Entry Sidebar.
        5. Enable the Auto Assign Template toggle button to select a translation template when initiating translations from the Entry Sidebar.Click to enlarge
      2. Click the Next button.
      3. Contentstack Fields: Configure workflows, stages, and roles for project creation and translation within Contentstack.
        1. You can create a project using multiple workflows within Contentstack to define the content path through the translation process. Mark the Workflow checkbox and then click the Add Workflow button.Click to enlarge
        2. Select the Workflow from the dropdown. Then fill up the four workflow stages from the respective dropdowns: Request Stage, Completed Stage, In Progress Stage (optional), and Error Stage (optional).
        3. Select an XTM Templates to create projects associated with the chosen workflow.
        4. Enable the Enable Workflow for Sidebar or Bulk Translate toggle button to apply your workflow configurations when sending entries for translation via the Sidebar or Bulk Translate.Click to enlarge

          Note To use the Enable Workflow for Sidebar or Bulk Translate setting, update your XTM app to the latest version.

        5. To create projects from the Entry Sidebar or Bulk Translate, check the From Sidebar or Bulk Translate in the Full Page UI checkbox. Then select a role from the Select Roles dropdown.
        6. To create projects from Content Types Bulk Translate, check the Content Types Bulk Translate in the Full Page UI checkbox. Then select a role from the Select Roles dropdown.Click to enlarge

          Note Only users with the selected roles will have access to Create Project from the Full Page Location and Entry Sidebar. By default, only the Stack Owner and Admin have this permission.

        7. Version Naming: You can append the master locale to the version name, making it easier to identify and track different versions across locales.

          Syntax: sourceEntrylocale_sourceEntryversion_targetEntryVersion

          For example: en-us_1_3

          If your XTM project adds language codes to file names, the version name also includes the target language code after the source version. For example, en-us_2_de_DE_1.

        8. Character Limit Validation: Translators can now view both maximum and minimum character limits directly within the XTM dashboard.Click to enlarge
        9. To publish entries automatically after translation, mark the Publish Entry checkbox and select the environment(s) and content type(s) to publish to.
        10. If you select the Enable Additional Settings option, you can define the scope of your fields for translation.Click to enlarge
      4. Click the Next button.
      5. Additional Settings: You can include or exclude specific fields from translation for specific content types, or apply global exclusions across all content types.
        1. Field(s) to Exclude from All Content Types: Define the fields to exclude from translation across all content types. For example, excluding title and url ensures XTM never translates the title and url fields in any content type.
        2. Select Field Types to Exclude: Automatically exclude fields based on their field type. For example, selecting Number will filter out and exclude all number-type fields across content types from translation.Click to enlarge

          Note

          • When the target language is not localized, the XTM app uses the source language code for exclusions.
          • When the target language is localized, it uses the target language code for exclusions.
        3. Manage Fields: Click the Manage Fields button to open the Content Type Settings modal.Click to enlarge

          In the Content Type Settings modal, use the dropdown to search and select a content type. Then select the field UIDs you want to include or exclude for translation.

          Note The XTM app now supports up to 6 levels of nesting.

          Once done, click the Save button to apply your selections.

          Click to enlarge
        4. Language Configuration: Define the content translation languages for XTM and Contentstack to avoid any mismatch between the language codes.

          Click the Add Language button to add a language. The app localizes all entries from XTM languages into the corresponding Contentstack languages.

          For any target languages not selected, the app uses the default language code of the stack.

          Exclude Languages: Select the language(s) from the dropdown that you want to remove from the Language dropdown in the sidebar.

          Click to enlarge
        5. Set Up Trigger URL: Configure your endpoint to receive automatic triggers from XTM. XTM sends a POST request when you create a project and a GET request when the project completes.Click to enlarge
        6. Reference Depth: Select the number of levels of referenced entries that the Entry Sidebar collects when you include references in a translation project. You can select a value from 1 to 5. The default value is 1.

          • Level 1 lists the references of the entry itself.
          • Each further level adds the references of the entries that the previous level found, up to the selected value.

          The sidebar lists each referenced entry once, even when several entries reference it or the references form a loop.

          Note Existing installations keep a Reference Depth of 1 until an admin changes the setting.

          Click to enlarge

      6. Once done, click Finish.
      7. If you want to reset the configuration settings, click the Reset Configuration button. A popup will appear. Click the Reset Config button to reset the entire configuration.Click to enlarge

      Note For existing users, to use the Branches support for content translation, update the app.

    6. After adding the configuration details, click the Save button.
    7. On the UI Locations tab, you can see the predefined app locations. You can use the toggle button corresponding to each UI location to enable or disable it based on your requirements.Click to enlarge
    8. If you enable the webhook for your app, you can view the webhook logs under the Webhook tab.

      Additional Resource For more information on UI locations and webhooks, refer to the Installed Apps documentation.

  4. Use the XTM App for Machine Translation

    To create projects for translation using the XTM app, you can use Workflow, Entry Sidebar, and Full Page Location.

    Using XTM in a Workflow

    To use XTM in a workflow, log in to your Contentstack account and follow the steps given below:

    Note We assume that you have created a workflow as described in Create Workflow in Contentstack and then configured the workflow and workflow stages under Contentstack Fields in the XTM app configuration.

    1. Navigate to Entries from the header and open the entry you want to translate. Then click the “Workflow Details” icon from the right navigation panel.Click to enlarge
    2. To initiate the translation process, change the workflow stage as defined in the app configuration by clicking the Change button.Click to enlarge
    3. Select the next workflow stage from the Set Workflow Stage dropdown. For instance, after Draft, select the Send for Translation stage to create a project and initiate the translation.Click to enlarge
    4. You can also set a due date, assign to users or roles, add comments, and then click the Update button.Click to enlarge

    Note If you want to use the JSON Rich Text Editor field, you can select the XTM pre-configured JSON RTE template option from the Filter Template drop-down. To configure the Filter Templates in your XTM account, please contact XTM support.

    Using the XTM App as an Entry Sidebar

    To use the XTM app as an Entry Sidebar, log in to your Contentstack account and follow the steps given below:

    1. Navigate to Entries from the header and open the entry you want to translate. Then click the “Apps” icon from the right navigation panel.Click to enlarge
    2. Select XTM from the dropdown and fill in all the fields under the Translate tab.
      1. Project Name: Enter the project name to create a project for translation.
      2. Select the Language or Template option:
        1. Language: If you want to use Language, choose the respective radio button. Then select the locales from the Target Language dropdown, and choose the Filter Template.

          If you configure Auto Assign Template under XTM Fields during the app configuration, the dropdown selects it by default. You can also select any template from the dropdown.

          When you want to exclude the XTM Workflow that you configured under XTM Fields during the app configuration, enable the Exclude XTM Workflow toggle button.

          Click to enlarge

          Note If you use the JSON Rich Text Editor field, select the JSON RTE Filter template option in your XTM account.

        2. Note The Language option needs an XTM Workflow in the app configuration. Without one, the app shows a message and disables the Target Language field. The Template option does not need a workflow.

        3. Template: Click the Template option and select a template from the dropdown.Click to enlarge
      3. Due Date (optional): XTM shows the due date from the Sidebar app in the Delivery due date field of the General info section of the project.
      4. If you select a date without a time, the app uses the end of that day. If the due date is in the past, the app shows a message and does not create the project.

      5. Description (optional): XTM shows the description from the Sidebar app in the Description field of the General info section of the project.Click to enlarge
      6. Entry References: You can add referenced entries for translation directly from the sidebar by clicking the Entry References button.Click to enlarge

        In the Translate Referenced Entries modal, select the referenced entries and click Save.

        The modal lists the referenced entries with the level of each entry. The list stops at the Reference Depth you set in the app configuration. The app takes the referenced entries in the same language as the open entry. For more information, refer to Additional Settings in the app configuration.

        Click to enlarge
      7. Manage Fields: Click the Manage Fields button. The Manage Fields modal selects all fields by default and reflects the Exclusion or Inclusion settings from the configuration.Click to enlarge

        Deselect the fields you want to exclude from the translation and click Save.

        Click to enlarge

        Note The app saves Manage Fields settings for a single instance.

      8. Files To Import: You can import multiple reference files for translation by clicking the Files To Import button.

        Note Total size must not exceed 5 MB.

      9. Translate: Click the Translate button to complete the project creation and start the translation process.Click to enlarge
    3. You can view the translation status under the Status tab by selecting a project using the Select Project dropdown. This dropdown lists the Project Name of the translation projects.Click to enlarge

      In the Project Status section, you can view the status of your project and the date and time of its last update. Click the vertical ellipses to Cancel or Reanalyze your project.

      The Select Project dropdown also lists up to 50 recent Bulk Translate projects that include the entry. The status sections show only the jobs of this entry. This applies to projects created with version 3.3.0 or later of the app.

      Click to enlarge

      Note When you click Cancel, the project deactivates only in the XTM portal. The localized language remains as it is.

      In the Language Status section, you can view the status of the individual language you selected. Click the vertical ellipses to use the View Error (in case of errors), Open Entry, or Cancel options.

      Click to enlarge
    4. After successful translation, you can view the translated content in the entries.

    Using XTM as a Full Page Location App

    To use the XTM app in Contentstack, log in to your Contentstack account and follow the steps below:

    1. Navigate to the stack dashboard, click Apps from the header, and select the XTM app. If you do not see Apps, click More first.Click to enlarge
    2. You can view the XTM app within your CMS.Click to enlarge

      Note Bulk Translate lets you choose specific entries from a content type to send for translation, while Content Types Bulk Translate sends all entries of selected content types for translation at once.

    3. The Bulk Translate feature sends selected entries for translation and tracks them in one place. To translate content using this option, follow the given steps:Click to enlarge
      1. Select the Content Type for translation.Click to enlarge
      2. Select entries for translation. To read a long entry title, drag the edge of the column header to widen the column.Click to enlarge

        Note Bulk Translate has no fixed limit on the number of entries in one submission. The app processes large submissions in the background, and you can follow their progress under Project Status.

        The table shows 30 entries per page, and you can change this to 50 or 100. Select All selects every entry on the current page. This includes entries that match a search.

      3. After adding the entries, click Show Selected to view the full list of entries for translation.Click to enlarge
      4. To initiate the translation process, click Translate.Click to enlarge
      5. In the Confirm Translation modal, fill in the following details:
        1. Provide the Project Name for the translation.
        2. Select the Language or Template option:
          1. Language: Click the Language option, then select a Target Language and a Filter Template from the respective dropdowns.

            Note The Language option needs an XTM Workflow in the app configuration. Without one, the app shows a message and disables the Target Language field. To add a workflow, refer to Retrieve your Credentials from XTM. The Template option does not need a workflow.

            The Auto Assign Template setting works as described in Using the XTM App as an Entry Sidebar.

            Note For the JSON Rich Text Editor field, select the filter template as described in Using the XTM App as an Entry Sidebar.

          2. Template: Click the Template option and select a template from the dropdown.
        3. Source Language: Select the language from the Source Language dropdown to define the source of translation. By default, the dropdown selects the stack's master language. You can change this to any other language in your stack.

          Note The Source Language dropdown includes all languages available in your stack. Ensure that the selected source language has existing content in the entries before initiating translation.

        4. Set the Due Date (optional) field to the date and time for the translation process. If you select a date without a time, the app uses the end of that day. If the due date is in the past, the app shows a message and does not create the project.

          Note The date format is mm/dd/yyyy, and the time format is hh:mm:ssZZ, where ZZ refers to the time zone.

        5. Enter the Description (optional) for the XTM translation project.
        6. Under the Files To Import section, you can import reference files for translation. The total size limit is the same as in Using the XTM App as an Entry Sidebar.
        7. After you add these details, click the Translate button.Click to enlarge
    4. The Content Types Bulk Translate option translates all entries across selected content types at once. To translate content using this feature, follow the given steps:Click to enlarge
      1. You can Create a Project by providing the Project Name for the translation.
      2. Select Content Types from the dropdown. You can add multiple content types for translation at one go.
      3. Select the Source Language from the Source Language dropdown. By default, the stack's master language is pre-selected. You can select any other language available in your stack as the source for translation

        NoteThe Source Language option allows you to translate content from a non-master language. For example, if your stack's master language is English but you want to translate French entries into Spanish, select French as the source language.

        Click to enlarge
      4. Select the Languages or Templates option:
        • Language: Choose the respective radio button. Then select the locales from the Language dropdown, and choose the Filter Template.

          Note You can add multiple locales for translation at once.

          Click to enlarge
        • Note The Language option needs an XTM Workflow in the app configuration. Without one, the app shows a message and disables the Content Types and Target Language fields.

        • Template: Choose the respective radio button and select the template provided in the dropdown.Click to enlarge
      5. Enable the Is Content Type Specific toggle to create a separate project for each content type in the XTM dashboard. XTM names each project using the format <Project_Name Content_Type_UID>. When disabled (default), XTM groups all content types under a single Project Name as specified.
      6. Set the date and time in the Due Date (optional) field for the translation process. If you select a date without a time, the app uses the end of that day. If the due date is in the past, the app shows a message and does not create the project.

        Note The date format is yyyy-mm-dd, and the time format is hh:mm:ss. Select the time zone next to the time.

      7. Enter the Description (optional) for the XTM translation project.
      8. After you add these details, click the Create Project button to initiate the translation.Click to enlarge
    5. To view the translation status of the entries, click Project Status from the left panel.Click to enlarge

      To view the stack-specific project statuses, select the Stack-specific Projects dropdown option.

      Click to enlarge

      Note You can also view the translation status in the XTM project dashboard.

    6. The Project Status table lists all projects. It shows 30 projects per page, and you can change this to 50 or 100. Use the page controls to move between pages.

    7. To view the detailed status, click the vertical ellipses under the corresponding Actions section and click View Details.Click to enlarge
    8. You can check the elaborated translation status of the entry.Click to enlarge
    9. Click Audit Log to view the logs of your translation projects. The logs appear under the following tabs: All Logs (default), Error Logs, XTM Logs and Entry Logs. Each log shows the Date, Action, Module, Title and Status. The Action column identifies the event, for example Initiate Project, Create Project, Update Workflow or No Update Needed. A failed step shows error in the Status column.

      Click to enlarge
    10. To edit, click the vertical ellipses under the corresponding Actions section to edit the entry or view its details.Click to enlarge
      1. Select Open Entry to go to the entry page.
      2. Select View Details to get the detailed error.Click to enlarge
  5. Use the XTM app for Human Translation

    Human translation in XTM allows an individual user to manually translate content. This process is slower than machine translation.

    To translate the content manually using the XTM app in Contentstack, log in to your Contentstack account and follow the steps below:

    1. Navigate to Entries from the header and open the entry you want to translate. Then click the “Apps” icon from the right navigation panel.Click to enlarge
    2. Select XTM from the dropdown, and then create a project under the Translate tab:Click to enlarge
      • Select the Language option.
      • Enter the Project Name.
      • Select Languages from the dropdown.
      • Select the Filter Template.
      • Click Translate.
    3. In the entry sidebar, go to the Status tab, and then copy your Project Name from the Select Project dropdown to use in XTM.Click to enlarge

      Note The Project Name is a unique identifier for the entry. It allows users to easily locate the entry in the XTM dashboard for manual translation.

    4. Navigate to the XTM dashboard and select the project that matches your Project Name.Click to enlarge
    5. In the left navigation panel, click Workflow, assign different languages to different users to translate the content manually, and then click the Start button.Click to enlarge

      Note Users must log in with individual credentials. Human and machine translation use separate credentials in XTM.

    6. Select the project based on the Project Name and manually translate the content. Once you complete the translation, the translated content saves automatically and appears in Contentstack.
  6. Limitations

  • The XTM app does not support Select, Boolean, Date, and Custom fields for content translation.
  • XTM does not support non-localizable fields.