Drupal is a registered trademark of Dries Buytaert

ai_translate_textfield

35 sites No security coverage
View on drupal.org

AI Textfield Translation (ai_translate_textfield) is a module that adds a button to text fields on an entity edit form to request a translation from an external service.

Supports any translator service that implements the Drupal AI module's text translation operation type. Currently, known implementations include only DeepL via a provider module.

Features

The module extends the text field widgets, adding the translation functionality. Admins can enable and configure it in the form mode configuration of the field.

It's intended to be used by content editors, to help them, but not bypass the human review of the translation.

There's a configuration option, to remind the editor with a popup about the third party translation that shouldn't be trusted. So the module is designed to be used on a site with multitude of editors and quality content, but it works with any site.

Requirements

Requires a Drupal 10/11 with content entity text fields, and an account with an API key to a translator backend service or a chat based AI provider.

To use this service, you also need the Drupal AI module and a provider module such as DeepL Provider or any chat based AI provider such as OpenAI.

Post-Installation

  • Configure the module at /admin/config/ai/ai-translate-textfield
  • (optional) Translate the text copy if you like at /admin/config/ai/ai-translate-textfield/translate
  • Enable the module on wanted text fields in the entity's form mode configuration.
  • Give the "Can use AI translation" (use ai translation) permission provided by the module to the roles you want to be able to use this module.

Credits

This module was originally created for an Aalto University project by jhuhta of Siili Solutions.

Activity

Total releases
1
First release
Oct 2025
Latest release
4 months ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
2.0.0-alpha2 Pre-release Oct 17, 2025