This module provides a translation service for Drupal using Lara, allowing you to send content for professional translation and automatically import it back into your site. It integrates with Drupal's Translation Management Tool (TMGMT) to streamline the translation workflow without manual export and import. The service offers context-aware translation for consistency and style control.
Lara Translate Provider integrates Drupal's Translation Management Tool (TMGMT) with the Lara translation service, letting site editors send content for high-quality translations and retrieve them without leaving Drupal.
⚠️ Version 1.0.x is no longer supported. If you are still running 1.x, please upgrade to 2.0.x as soon as possible — no further bug fixes or security updates will be provided for the 1.x branch. Before upgrading, process all pending queue items or they will be lost (2.x replaces the Drupal Queue API with Symfony Messenger). See Breaking Changes & Upgrade Path for step-by-step migration instructions.
Features
- Implements a TMGMT translation provider plugin for Lara.
- Lets you send content or batches directly from Drupal to Lara's translation pipeline.
- Automatically fetches completed translations and imports them into the site.
- Supports translation status updates (in progress, completed, errors).
- Leverages Lara's context-aware translation model: Lara processes full documents (not isolated segments), preserving consistency, style, and meaning. (laratranslate.com)
- Offers style options (e.g. "Faithful", "Fluid", "Creative") to match the tone of your content. (laratranslate.com)
- Suitable for sites that want to centralize translation workflows without manual export/import overhead.
Use cases include:
- A multilingual content site wanting professional-quality translation service integrated into Drupal.
- Projects where maintaining tone, consistency, and clarity is critical (marketing, legal, technical content).
- Teams wanting to automate translation submission, tracking, and ingestion.
Post-Installation
- Enable the Lara Translate Provider module and ensure TMGMT is active.
- Go to Translation Management → Providers.
- Create a Lara provider instance by entering your Lara API credentials.
- Optionally configure defaults (e.g. preferred style, fallback handling).
- Use the TMGMT interface (jobs, workflows) to submit content to Lara.
- As translations finish, they are pulled back automatically (or manually, depending on settings).
Once installed, you don't manage separate content types or fields — the module works via TMGMT's existing workflows. The main setup is in the provider configuration. Users should also verify that content types, text formats, and languages are properly enabled for translation in Drupal core before sending to Lara.
Additional Requirements
- TMGMT (Translation Management Tool) module.
- A valid Lara API account with access credentials.
- Access from your server to Lara's API endpoints (network and firewall rules allowing).
Similar projects
- AI Translation Management (TMGMT), integrates AI-powered translation using the AI module with providers like OpenAI, Ollama, and more.
Similarities: Like AI Translation Management, Lara Translate Provider processes translation jobs asynchronously. Both modules handle translation requests during cron runs, allowing large jobs to be processed efficiently without blocking content operations or timing out. Version 2.x of Lara Translate Provider uses Symfony Messenger for asynchronous processing, while 1.x used the Drupal Queue API.
What differentiates Lara Translate Provider: While AI Translation Management supports multiple AI providers with customizable prompts and style tweaking, Lara Translate Provider is built specifically for Lara, which uses a context-aware translation engine that reads entire documents to preserve consistency and meaning, offers predefined style control (Faithful / Fluid / Creative), and "explains its translation choices" for transparency.
Supporting this Module
Development support is welcome! You can:
- Contribute via Git / issues / patches / documentation
- Share feedback or bug reports
- Sponsor development through direct funding or organizational support
Community Documentation
- Official Lara documentation / API reference: laratranslate.com
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 2.0.0-beta4 | Pre-release | 10–11 | Fix options for lara-sdk | May 4, 2026 | |
| 2.0.0-beta3 | Pre-release | 10–11 | Upgrade translated/lara-sdk | Apr 26, 2026 | |
| 2.0.0-beta2 | Pre-release | 10–11 | Mar 25, 2026 | ||
| 2.0.0-beta1 | Pre-release | 10–11 | Mar 17, 2026 | ||
| 2.0.x-dev | Dev | 10–11 | Use the modern Symfony Messenger queue handler | Feb 2, 2026 | |
| 1.0.0-beta1 | Pre-release | 10–11 | Adds the smart text splitting | Oct 24, 2025 | |
| 1.0.0-alpha2 | Pre-release | 10–11 | Translation restrictions handling | Oct 6, 2025 | |
| 1.0.0-alpha1 | Pre-release | 10–11 | First testable release. | Oct 2, 2025 | |
| 1.0.x-dev | Dev | 10–11 | First development release | Oct 1, 2025 |