Skip to main content

XTM Connect – Drupal 8.x-7.0

Configuring the plugins (modules) in Drupal

Once you have installed and enabled TMGMT, the XTM Connect – Drupal plugin, and other required modules, make the translation-related configuration settings in Drupal. These settings enable the content of your Drupal site to be translated. Follow these steps, in sequence:

Configuration step

Description

For more details, refer to this Drupal online help page:

1. Source languages

Choose the languages that will be used as the source languages for your translation content.

To display the languages that have been configured in Drupal:
  1. Select the Configuration tool bar button in the Home screen.

  2. In the Configuration screen, select the Languages option in the REGIONAL AND LANGUAGE section.

    You see the languages that have been configured, in the List tab screen.

Note

If required, you can view the language short code for each Drupal language.

These languages will displayed for selection in the Sources tab screen. They must be mapped to XTM Cloud languages, in XTM Connect – Drupal.

Adding a Language.

2. Translation content types

In the Content language screen, choose the Drupal content that is to be translated.

  • In the Custom language settings section, select each content category whose content is to be translated. Recommended: Content, Custom block, Custom menu link, User.

  • For each content category, in the list below the Custom language settings section, specify which translatable item content types are to be translated. To do so, select the checkbox next to its label. Each content category sub-list is labeled in the same way as its entry in the Custom language settings section.

    Recommended:

    Content

    Content types

    Article

    (Unlike a Basic page, listed below, can contain an embedded image. It cannot contain more than one embedded image.)

    Body, Title

    Body

    Body, Title

    Basic page

    (Static page: unlike an Article, listed above, cannot contain embedded images.)

    Body, Title

    Custom block

    Content types

    Basic block

    Block description, Body

    Custom menu link

    Content types

    Custom menu link

    Menu link title, Description

    User

    Content types

    User

    Alt, Title

Configuring Content Translation.

3. Translation provider (XTM)

Configure XTM Connect – Drupal as the translation provider. Translation jobs will then be sent to XTM Cloud, via XTM Connect – Drupal.

Help topic in this Guide: Configuring XTM Connect – Drupal as the translation provider.

4. Cron time interval

Set the cron time interval at which translation jobs are sent to XTM Cloud.

Help topic in this Guide: Setting the cron time interval.

5. Translation job settings

Make other settings that affect the way translation jobs are created and processed.

Help topic in this Guide: Translation job settings.

Result: you have configured the translation-related plugins, and other translation-relevant settings, in your instance of Drupal.

You can change the configurations for these translation-related plugins, or the translation-relevant settings, at any time.

For details of how to send the content of your Drupal site for translation in XTM Cloud, refer to the XTM Connect – Drupal Translation Requester Guide.