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
- Enable the module and configure a chat provider at
/admin/config/ai/providers. - Visit
/admin/config/ai/ai_tpto set the propagation mode, optionally override the provider/model (enter asprovider_id__model_id, e.g.openai__gpt-4o), and customise the prompt template. - Edit a content type at
/admin/structure/typesand enable AI Translation Propagation in the AI Translation Propagation tab. - On any node of that type, open the AI Translation Propagation sidebar section, enable it, and select the translations to update.


Monitoring
All propagation activity is written to the ai_translation_propagation watchdog channel. Check /admin/reports/dblog and filter by type ai_translation_propagation.
| Attachment | Size |
|---|---|
| Content type config | 190.14 KB |
| Propagation mode | 101.04 KB |
| Per node config | 70.68 KB |
Project information
Seeking co-maintainer(s)
Maintainers are looking for help reviewing issues.- Project categories: Artificial Intelligence (AI), Multilingual
- Ecosystem: AI (Artificial Intelligence), Multilingual Drupal
- Created by wouters_f on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
