This project is not covered by Drupal’s security advisory policy.
The Auto Translation Field module provides a field-level, one-click AI translation button directly inside the Drupal content editing form.
Instead of translating an entire entity at once and losing context, editors can translate individual fields, preview a before-and-after diff of the translation, and accept or discard changes without ever leaving the node edit page.
This module delegates the actual translation to the drupal/ai ecosystem, meaning any installed AI provider (DeepL, OpenAI, Ollama, Gemini) will work automatically.
REQUIREMENTS
This module requires the following modules:
- Content Translation (Core)
- Language (Core)
- Field (Core)
- Auto Translation
- AI Core (
drupal/ai)
You must also install and configure at least one AI Provider submodule, such as:
- AI Provider: DeepL (
ai_provider_deepl) - AI Provider: OpenAI (
ai_provider_openai)
RECOMMENDED MODULES
- Key: Highly recommended for securely storing API keys for your chosen AI providers rather than keeping them in standard configuration.
INSTALLATION
- Install the module via Composer:
composer require drupal/auto_translation_field - Enable the module:
drush en auto_translation_field - Ensure you have installed and enabled an AI provider of your choice:
composer require drupal/ai_provider_deepl:"^1.0@alpha"drush en ai_provider_deepl
CONFIGURATION
- Go to Administration » Configuration » AI » Auto Translation Field (
/admin/config/ai/auto-translation-field). - Select your preferred active AI Provider from the dropdown list.
- Save configuration.
- Ensure your user role has the "use ai field translation" permission.
The "Translate with AI" button will now automatically appear next to all translatable text fields when editing a node in a target language.
Project information
- Project categories: Multilingual
- Ecosystem: AI (Artificial Intelligence)
- Created by sapnil_biswas on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.

