Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

AI Textfield Translation

No security coverage Under active development 45 sites

Part of the AI ecosystem · 343 projects

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.

Ask your assistant about AI Textfield Translation

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
6
Tracked since
Jan 2024
Latest release
2 weeks ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.0.0-alpha3 Pre-release 10–11 PHP ^8.1 Oct 1, 2026
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
1.0.0-alpha1 Pre-release 10–11 Aug 26, 2024
1.0.x-dev Dev 10–11 Jan 18, 2024