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 adds a button to text fields that allows users to request translations from external AI services. It works with any compatible translation provider and is intended to assist content editors, with an option to remind them that AI translations require human review.

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
9 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

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