Install
Works with Drupal: ^10.3 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
First public release. Gives every language its own draft of moderated
Paragraph content.
On a site using Paragraphs, Content Translation and Content Moderation
together, the list of Paragraphs is copied to each translation only once and
never updated. A Paragraph added to an English draft is therefore invisible to
translators, and they cannot add it themselves, until the English revision is
published. This module removes that wait.
What it does
- Paragraphs added to an unpublished source draft become translatable
immediately. - When the source language changes its Paragraphs, every other language
automatically gets its own draft containing the change, so nobody edits the
revision the public is reading. - Already-translated content is never overwritten. Deletions and reordering
in the source language are followed through. - One save changes one language: editing or publishing German cannot alter
English or French. - Publishing is per language, and older revisions keep the Paragraph
revisions they were saved with. - Optional per-language scheduled publishing and unpublishing through
Scheduler.
Requirements
Drupal core Node, Language, Content Translation, Content Moderation and
Workflows, plus Paragraphs and Entity Reference Revisions.
For scheduling, install both Scheduler and Scheduler Content Moderation
Integration. Install both or neither: Scheduler alone cannot move a moderated
entity between workflow states, so the integration stays switched off until
both are present.
Before it will work
Two settings must be correct, and the module reports both at
/admin/reports/status if they are not:
- The Paragraph reference field must be translatable.
- The Paragraph types must be translation enabled, with their text fields
translatable.
Why this is a beta
The module is covered by 45 automated tests (1,611 assertions) and has been
developed against Drupal 10.4 with Paragraphs 1.23 and Entity Reference
Revisions 1.14. It has not yet been used on a site other than the one it was
written for, so it is released as a beta while that feedback comes in.
Please report anything you find in the issue queue, including your Drupal,
Paragraphs and Entity Reference Revisions versions.
Known behaviour worth noting
- Translators cannot add, remove or reorder Paragraphs. Structure belongs to
the source language, which matches how the Paragraphs widget already behaves
while translating. - Publishing a translation publishes the Paragraphs it contains in that
language, while they stay hidden in the source language until that language is
published.