Skip to main content
  • Agency for web development
  • Content Management with Primer
  • Open Source Leadership with Drupal
    Language
  • Deutsch
  • English
  • Contact
Site logo
Agentur für Webentwicklung
  • References
  • Services
  • News
  • About us
  • Agency for web development
  • Content Management with Primer
  • Open Source Leadership with Drupal
close

New features for TMGMT

19. January 2018
Sascha Grossenbacher Porträt
Sascha Grossenbacher

We have been working on several new features for TMGMT in the last few months. This resulted in two new releases, 8.x-1.3 and 8.x-1.4. Most of these improvements have been directly funded by translations.com.

This blog posts highlights some of the new functionality.

translations.com GlobalLink Logo

Support for special field types like Metatags

The support for additional field types in Drupal 8 was already much better than in Drupal 7 as we support most field types out of the box thanks to the improved API’s that we can rely on.

Some field types however still require custom processing and to support that, we now added an extensible system that allows to implement this. As a first implementation of this, we added support for the Metatags module. TMGMT will ignore fields that only contain tokens as they can not be translated and it will also only include meta tags that have been customized on a specific piece of content.

Extracted meta tags

If you are a developer and want to implement something similar for your field type, have a look at tmgmt_content_field_info_alter() and \Drupal\tmgmt_content\MetatagsFieldProcessor.

Support for translating Webforms

Most configuration entities like Node types, Fields, Views, etc. are supported out of the box as Drupal understands their structure.

Webforms are special because they store the whole field structure in a way that TMGMT so far could not inspect. Similar to field types, we added a system that allows anyone to provide a customized implementation that can deal with such a special case and by default we provide one for Webforms. This allows us to extract translatable form labels, descriptions, select options and more to automate the translation process of a whole form in one step.

Extracted webform elements

If you are a developer and want to implement something similar for your field type, have a look at tmgmt_config_config_schema_info_alter() and \Drupal\tmgmt_config\WebformConfigProcessor.

Improved support for suggestions and embedded references

Previously, TMGMT only suggested referenced entities if the reference field was not translatable. Now we show translated references as well. We also made several improvements to the suggestions UI. Previously, it was necessary to press a button to get suggestions and then maybe it had something to show.

Now it shows available suggestions immediately and if there are, the job item list will be collapsed. If there are no suggestions available, the UI elements will be completely disabled.

Improved suggestions user interface

Additionally, we now also support to automatically embed entities from translatable fields. We recommend to use this very carefully and only use it for references that are not re-used as translation jobs can get very large and parts might be translated multiple times in separate translation jobs.

Create translation jobs for multiple target languages directly from the source overview

Until now, the source overview allowed to create a translation job with multiple source items. It however only allowed to create a job for a single target language and always used the original language of the source items.

It was possible to use the Cart feature to create jobs for multiple target languages but that required multiple additional steps. Now it is possible to directly select all or multiple target languages for a set of source items in a single UI

TMGMT target language

Improved UI for submitting multiple jobs

Creating multiple jobs due to different source or target languages previously only provided very few hints about the remaining jobs and that there are multiple.

We made several improvements to that. One is that we now show a progress bar that shows the user how much work is remaining as well as listing the remaining jobs in a collapsed element.

Job checkout progress user interface

Additionally, there is now an option that allows to submit all remaining jobs in the checkout queue with the current settings. This will start a batch process and attempt to submit all jobs. If any of them fail (for example because the currently chosen translation provider does not support that language pair), the user returns to the checkout page for the remaining jobs and can choose to select a different provider or settings.

Submitting multiple jobs

All of these features are working with all available translation service providers without any additional effort on their side.

We will continue to work with translation providers and other partners to improve and extend TMGMT. Get in touch if you would like to talk with us about additional features or implement or extend a translation service provider integration.

We want to thank translations.com for funding all these features!

Drupal Mountain Camp 2025 in Davos

Kongresszentrum Davos Front
24. March 2025

This year's Drupal Mountain Camp was a complete success. Not only because we were able to take home another Splash Award, but also because of the people from the Drupal universe.

Read more

UNICEF Switzerland and Liechtenstein: Sustainable IT performance with MD Systems

27. February 2025

We supported UNICEF Switzerland and Lichtenstein in the process of "reducing their ecological footprint" and optimized their website performance at the same time.

Mehr lesen

Drupal CMS 1.0 released

drupal cms
16. January 2025

Drupal CMS 1.0 is the impressive first step in a challenging journey to make Drupal a better CMS product. A CMS that is ready to use without any complex configuration.

Read more

About MD Systems

MD Systems, headquartered in Zurich, is a unique team of international open source initiative leaders for the Drupal content management system.

With our experts for software architecture and design and our industry solutions, you digitize your organization successfully and efficiently.

MD Systems GmbH

Hermetschloostrasse 77, CH-8048 Zürich

Schweiz

+41 44 500 45 95

[email protected]

  • Contact
  • Impressum
  • Data protection
To top

© Copyright 2023 - 2024 MD Systems GmbH. Alle Rechte vorbehalten. Erstellt mit PRIMER - powered by Drupal.