Drupal is a registered trademark of Dries Buytaert

ai_tmgmt

142 sites Security covered
View on drupal.org

The AI TMGMT (Translation Management) module is an AI translator plugin for the Translation Management Tools (TMGMT) project. It uses the AI module under the hood to allow you to use OpenAI, Ollama, and many more other providers (both paid and local/free). You will always have access to the latest and most cost-effective models to translate your content accurately and automatically.

Features overview

  • Fast automated translation of content using AI with ability to tweak translation style.
  • Integration with the AI Translate sub-module of the AI module to allow AI model selection and prompts to differ per language
  • Translate one or multiple nodes by a few simple mouse clicks.
  • Use advanced translation jobs management tool to submit and review translations.
  • The project of course also supports implicitly all the features which are provided by TMGMT like a feature-rich review process, being able to translate different sources and more.

Installation

Install as you would normally install a contributed Drupal module. For further information, see Installing Drupal Modules.

Configuration

  1. Enable this module and at least one TMGMT 'Source' provider like 'Content Entity Source'
  2. Configure at least one Provider in the AI module at /admin/config/ai/settings
  3. Enable the TMGMT AI Provider at /admin/tmgmt/translators
  4. Check it works by going to /admin/tmgmt/sources, request a translation, and reviewing the generated translation results.

Note: you probably want to install this patch as the base TMGMT module runs jobs twice, so you will use more tokens until the issue is fixed: #3198609: Same Job processed/checkout twice by the JobCheckoutManager

Prompt Examples

Default prompt

Translate from %source% into %target% language

%text%

Ability to change style of the translation

Translate from %source% into %target% language in Ernest Hemingway style

%text%

Migrating from the 'TMGMT OpenAI' module

Steps to migrate from https://www.drupal.org/project/tmgmt_openai:

  1. Install this module as per the instructions
  2. Ensure the new AI TMGMT provider is set up correctly
  3. Ensure all Jobs related to tmgmt_openai are completed
  4. Disable the tmgmt_openai provider
  5. Uninstall the tmgmt_openai module

Supporting the Project

Please consider supporting this project with a donation which goes to Minnur to sponsor development.

Maintainers

  • Minnur Yunusov (minnur) Wrote the original module and continues to maintain the project.
  • Scott Euser (scott_euser) Ported the module over to leverage the AI module and supports maintenance.

Activity

Total releases
4
First release
Feb 2025
Latest release
1 month ago
Release cadence
117 days
Stability
0% stable

Release Timeline

Releases

Version Type Release date
1.0.0-beta5 Pre-release Jan 21, 2026
1.0.0-beta4 Pre-release Jan 14, 2026
1.0.0-beta3 Pre-release Nov 26, 2025
1.0.0-beta2 Pre-release Feb 5, 2025