Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

TMGMT ModernMT

Security covered Drupal 9–11 Tmgmt ecosystem
View on drupal.org

This module connects the Translation Management Tool (TMGMT) in Drupal with the ModernMT service. It allows you to use AI-powered machine translation directly within Drupal, offering accurate and context-aware translations that improve over time.

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!

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Aug 2025
Latest release
11 months ago
Releases (12 mo)
2
Maintenance
Slowing

Release Timeline

Releases

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