Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This article provides answers to questions frequently asked by clients when they begin working with the Drupal connector, XTM Connect – Drupal.

...

Questions and answers

How can I

...

install the Drupal connector, XTM Connect – Drupal, seamlessly?

To There are two ways to install the XTM Connect – Drupal plugin, you can either install it : directly from the relevant XTM Connect – Drupal module page or by downloading the required plugin package and installing it using that package.

For detailed instructions, you can refer to the appropriate installation guide, available under the URLs provided belowone of these URLs:

What

...

happens in Drupal when a project is

...

reopened on the XTM Cloud

...

side?

Once an XTM Cloud project is has been imported back to the Drupal CMS, reopening it on the XTM Cloud side will not have an no impact on the CMS whatsoever. ThereforeFor this reason, any new or updated content should be first translated by means of in a new project.

...

Why might

...

the

...

File does not exist in the following location message be present in the logs? I cannot retrieve the translated file from XTM Cloud back to the Drupal CMS.

In the vast majority of cases, the message File does not exist in the following location message might indicate that the project has already been archived on the XTM Cloud side; as . As a consequence, the Drupal connector cannot process the target file. Once you reactivate the project in the XTM Cloud UI and refresh its status in the Drupal CMS, the project should update the file status accordingly.

What happens if the source content in Drupal is updated after it is sent off for translation in XTM Cloud?

Once you make revisions to the content that was has already been sent off for translation in XTM Cloud, it will be displayed as a draft in the CMS, suggesting that the new content (with revision) was has not yet been sent to the XTM connector. Therefore, it is not recommended to make any changes Connect – Drupal. For this reason, we recommend that no changes are made to the content after it was has been sent to translation, as the these changes in question will not be sent for translation at all ; as a consequence, and the target text will not therefore not be matched to match the source text in XTM Workbench.

That might also cause prevent the translated content not to make it back from returning to Drupal, since the source content sent to XTM Cloud and the content in the CMS now will then differ from each other.

Info

On In no account circumstances will the new or updated content in the CMS be sent to XTM Cloud automatically. However, XTM Connect - Drupalhas some automated functions for continuous submission of new (or updated) sourcecontent for translation in XTM Cloud. To find out more, read the following article: Drupal: Continuous job.

Is it possible to connect a

...

single Drupal language with multiple XTM Cloud languages by means of one language mapping?

...

Is it possible to map one Drupal language with all of its language variants in XTM Cloud

...

?

Language mapping in the Drupal CMS is only possible only for one Drupal language and one XTM Cloud language at a time, which means that you cannot do define a second language mapping for the languages that have already been used in the first an existing language mapping. If you would also like to create a language mapping for a specific language variant, you might need to consider establishing configuring a separate XTM Cloud service provider or changing the mapping within the file that is located inin this file: \drupal\web\modules\tmgmt_xtm\src\Plugin\tmgmt\Translator\countryList.json

Info

After each connector update, the changes will reset to the default values. HenceFor this reason, it is advisable to make the target language change after each connector update of the connector.

In the attachment below, you can find out how the languages are mapped between Drupal and XTM Cloud. Note that the en language has two languages mapped, but the first language variant in line is en_GB (the system takes the first language from the list).

View file
namecountryList.json

Does the Drupal connector support multiple XTM Cloud customers?

It is possible to connect multiple XTM Cloud customers to the Drupal CMS via the connector XTM Connect - Drupal,but you will have to establish configure a separate XTM Cloud service provider.

This of course can be done on at your end, in the Drupal CMS. However, remember to select the customer in XTM Cloud with API enabled. Otherwise, the Drupal connector will not have a connection with your XTM Cloud instance.

...

By default, XTM Connect – Drupal creates projects for a single language combination. However, the Drupal connector enables you can use XTM Connect - Drupal to send a single project for translation in XTM Cloud into multiple target languages, in XTM Cloud. To find out how to do so, read the following article: Drupal: Creating multilingual projects in XTM Cloud.