This project is not covered by Drupal’s security advisory policy.

AI Translation Propagation

Automatically rewrite translated node content when the source language is updated, using the Drupal AI module as the provider layer.

Early release!! limited support. This version only propagates translations for title and body (value + summary).

What it does

When an editor saves the default-language version of a node, AI re-translates the translations.


The result is saved as a new revision, optionally forced into Draft state if Content Moderation is active.

Key features

  • Per-content-type opt-in via the content type settings form
  • Per-node enable/disable toggle and target language selection in the node edit form sidebar
  • Uses any chat-capable AI provider configured via the Drupal AI module
  • Creates a new node revision per propagated translation
  • forces Draft state, does not crash when absent
  • Only updates translations that already exist
  • Recursion-safe: propagating a translation does not retrigger the hook

Requirements

  • Drupal 10.3 or 11
  • drupal/ai ^1.0 with a chat provider configured
  • Core modules: language, content_translation, node

POC scope

This is a proof of concept. Only title and body (value + summary) are propagated. The architecture is designed to support arbitrary fields, Paragraphs, Canvas, queue workers, and field-level configuration in future releases.

Configuration

  1. Enable the module and configure a chat provider at /admin/config/ai/providers.
  2. enable propagation per contenttype

  3. Visit /admin/config/ai/ai_tp to set the propagation mode, optionally override the provider/model (enter as provider_id__model_id, e.g. openai__gpt-4o), and customise the prompt template.
  4. propagation mode

  5. Edit a content type at /admin/structure/types and enable AI Translation Propagation in the AI Translation Propagation tab.
  6. On any node of that type, open the AI Translation Propagation sidebar section, enable it, and select the translations to update.
  7. translation propagation

Monitoring

All propagation activity is written to the ai_translation_propagation watchdog channel. Check /admin/reports/dblog and filter by type ai_translation_propagation.

Supporting organizations: 
Funding
AttachmentSize
Content type config190.14 KB
Propagation mode101.04 KB
Per node config70.68 KB

Project information

Releases