Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module provides a translator plugin for Drupal's Translation Management Tool, enabling automated continuous translation with the Tolgee platform. It supports robust JSON export, bidirectional synchronization, and a scalable, bandwidth-efficient workflow for managing translations.

This module provides a Tolgee translator plugin for the Translation Management Tool (TMGMT).
It enables a robust, automated "Continuous Translation" workflow between Drupal and the Tolgee platform.

Key Features

  • Robust JSON Export: Uses Tolgee's native JSON export format to strictly preserve translation keys and metadata, bypassing fragile XLIFF header limitations.
  • Reverse Sync (New in v1.1.0): Bidirectional synchronization! Local Drupal edits can be configured to trigger a "Needs Review" state and pushed back to Tolgee, enabling a true "Latest Edit Wins" workflow.
  • Continuous Translation (Automation):
    • Auto-Push: Optional setting to automatically upload new content (Unprocessed jobs) to Tolgee via Cron.
    • Auto-Pull: Optional setting to automatically fetch completed translations (Active jobs) via Cron.
    • Auto-Accept: Optional setting to automatically approve imported translations, enabling zero-click publishing.
  • High Scalability: Supports massive datasets (e.g., 5000+ terms) via automatic Job pagination and Cron Batching to prevent timeouts.
  • Bandwidth Efficiency: Implements HTTP Conditional Requests (ETags). If translations haven't changed in Tolgee, the module skips downloading and parsing, making frequent Cron polling extremely cheap and efficient.
  • Manual Control: Includes a "Pull from Tolgee" button for on-demand synchronization.

Compatibility

This module has been tested on self hosted Tolgee but is (should be) fully compatible with:

  • Tolgee Cloud (app.tolgee.io)
  • Self-Hosted Instances (Custom domains)
  • All Pricing Tiers (Free/Community, Business, Enterprise) via an active polling architecture that respects API rate limits.

Installation

Install via Composer to ensure all dependencies are loaded:

composer require drupal/tmgmt_tolgee
drush en tmgmt_tolgee

Configuration

  1. API Key: Add your Tolgee API Key in Configuration > System > Keys.
  2. Provider: Add a "Tolgee" provider in Translation > Providers and select your API Key.
  3. Mapping: (Optional) Configure "Namespace Mapping" to organize your content (e.g., map "Nodes" to
    the "content" namespace).

Full Documentation:

For detailed configuration options, tagging strategies, and technical details, please view the Full README and Documentation.

Roadmap & Remaining Tasks

[ ] Webhooks Integration (Real-Time Sync): Current status: Uses efficient Cron polling (ETags).
Goal: Implement a Webhook receiver to support immediate "Push" updates from Tolgee. This is vital for high-volume Business/Enterprise workflows where instant propagation is required without waiting for Cron runs.

[ ] Context & Screenshots (Enterprise):
Automate the uploading of screenshots from Drupal to Tolgee. This allows translators to see the exact visual context of strings (e.g., "Menu Link" vs "Button"), a key feature for ensuring quality in large-scale Enterprise projects.

[ ] Advanced In-Context Editing: Deepen the integration with the Tolgee JS SDK to enable full "Alt+Click" translation editing directly within the Drupal front-end.

Activity

Total releases
4
First release
Jan 2026
Latest release
6 months ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

Version Type Release date
1.1.1 Stable Jan 11, 2026
1.1.0 Stable Jan 10, 2026
1.x-dev Dev Jan 7, 2026
1.0.0 Stable Jan 7, 2026