Main website
Government Drupal Developers NetworkCommunity
Project pipeline

Alpha stage#multilingual#content-moderation#workflow

Bilingual Content Moderation

Editorial workflow that keeps English and French (or Welsh, or Māori) translations in step before anything is published.

Team
3 people
Asked for by
2 organisations
Last updated
3h ago

Stage 3 of 5: Alpha

The problem

Official-languages law says both versions must go live together, but Drupal's moderation treats translations independently.

01 About this project

Approach

A moderation state Awaiting translation plus a guard that blocks publishing until every required language is approved.

// Block publish until all required translations are approved.
function gddn_bilingual_entity_presave(EntityInterface $entity) {
  \Drupal::service('gddn_bilingual.guard')->assertReady($entity);
}

02 Who needs this

Every “we need this too” tells the team where their work will be reused. One stroke per organisation.

2 organisations need this

GDDN is a members-only network for people working on Drupal in government. Join to tell this team your organisation needs it too.

  • Office of Public Works

    • CB

      Ciara Byrne 1mo ago

      “Irish-language requirements apply to OPW.”

  • Department of Internal Affairs

    • TR

      Tama Rangi 1mo ago

      “Te reo Māori + English is the same problem for us.”