ai_translate_double_field
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.