Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

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.

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

Tracked releases
3
Tracked since
Oct 2024
Latest release
10 months ago
Releases (12 mo)
1 ▼ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
2.0.0-alpha2 Pre-release 10–11 Oct 17, 2025
2.0.0-alpha1 Pre-release 10–11 Oct 15, 2024
2.0.x-dev Dev 10–11 Oct 15, 2024