Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).
ModernMT Translator Integration for TMGMT

Overview

The tmgmt_modernmt module seamlessly integrates the
ModernMT machine translation service with the
Translation Management Tool (TMGMT) in Drupal.

It provides high-quality, AI-powered translations directly within your Drupal site, ensuring accurate,
adaptive, and context-aware multilingual content management.

Features

  • 🌍 ModernMT API Integration – Connects to ModernMT via a secure API key using the
    Key module.
  • πŸ† AI-Powered Translations – Provides adaptive and context-aware machine translation.
  • πŸ”„ Seamless TMGMT Compatibility – Fully integrates with TMGMT for streamlined workflows.
  • 🎯 Domain Customization – Allows domain-specific translation settings per language.
  • πŸ” Secure API Key Management – Uses the Key module to store API credentials securely.

Requirements

Installation & Configuration

Installation

  1. Download the module via Composer:
    composer require drupal/tmgmt_modernmt
  2. Enable the module:
    drush en tmgmt_modernmt
  3. Ensure the required modules are enabled:
    drush en tmgmt key

API Key Setup

  1. Navigate to Configuration > System > Key (/admin/config/system/keys).
  2. Create a new key and enter your ModernMT API credentials.
  3. Save the configuration.

Translator Configuration

  1. Go to Translation > Translators (/admin/tmgmt/translators).
  2. Add or edit a translator and select ModernMT as the plugin.
  3. Choose the ModernMT API Key you configured earlier.

Domain Customization (Optional)

Configure domain-specific translations per language under the translator settings.

Usage

  1. Navigate to Translation > Jobs (/admin/tmgmt/jobs).
  2. Select the content to translate and choose the ModernMT translator.
  3. Submit the translation job and let ModernMT handle the rest!

Developer Notes

Configuration Schema

  • Uses Drupal's structured configuration schema.
  • API key selection is managed with the key_select element type.
  • Domain settings can be customized per language.

Extensibility

  • Built using Drupal’s plugin and service architecture.
  • Easily extendable via custom plugins and overrides.

Troubleshooting

Error: "Invalid API Key"

  • Ensure the API key is correctly configured in the Key module.
  • Verify that your API key has sufficient permissions.

Translation Errors

  • Check language mappings to confirm ModernMT supports your selected source and target languages.
  • Verify that your ModernMT subscription is active.

Similar Projects

  • tmgmt_google – Uses Google Translate instead of ModernMT.
  • tmgmt_deepl – Integrates DeepL for premium translations.
  • Why ModernMT? It offers adaptive AI translation that improves with usage and allows domain-specific tuning.

Support

License

This module is open-source and licensed under the GNU General Public License v2 or later.

Why Use tmgmt_modernmt?

If you’re managing multilingual content in Drupal, this module is a powerful and secure solution
that brings AI-driven, adaptive machine translation to your workflow. Try it today!

Activity

Total releases
4
First release
Aug 2025
Latest release
6 months ago
Release cadence
11 days
Stability
25% stable

Release Timeline

Releases

Version Type Release date
1.0.0 Stable Sep 24, 2025
1.0.0-beta1 Pre-release Sep 18, 2025
1.0.0-alpha1 Pre-release Aug 29, 2025
1.0.x-dev Dev Aug 22, 2025