Drupal is a registered trademark of Dries Buytaert

ai_translate_double_field

2 sites No security coverage
View on drupal.org

AI Translate Double Field adds a `double_field` extractor plugin to the AI Translate module so that both parts of a Double Field value can be translated automatically.

Requirements

- AI Translate (provides the translation framework and extractor base classes).
- Double Field (defines the `double_field` field type).

Install/enable these modules first, then enable `ai_translate_double_field`.

What the module does

- Detects which subfields are translatable by inspecting the storage configuration. Only subfields with types `string`, `text`, `email`, `telephone`, or `uri` are sent for translation.
- Passes the prepared data (delta, column list, and column values) to AI Translate so translation providers receive structured metadata.
- Writes translated values back to their respective subfields without touching non-translatable data or unrelated subfields.

Because the extractor is attribute-based, no extra configuration is needed: once the module is enabled, AI Translate automatically discovers the plugin and uses it whenever a `double_field` instance qualifies for translation.

Activity

Total releases
1
First release
Feb 2026
Latest release
1 week ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
1.0.0 Stable Feb 19, 2026