Skip to content

Simple guide · Overview

Page status: HistoricalHistory group: Updates

Accepted articles require translations before publishing

This update makes the Worker treat accepted articles as translation_pending until every enabled summary language has a saved row in article_summaries.

Visual overview

Primary diagram

System map

This update makes the Worker treat accepted articles as translation_pending until every enabled summary language has a saved row in article_summaries.

Render the repository-owned system map when you need it.

Diagram is not rendered yet.

View as text
Accepted articles require translations before publishing

This update makes the Worker treat accepted articles as translation_pending until every enabled summary language has a saved row in article_summaries.

flowchart TB
  accTitle: Accepted articles require translations before publishing
  accDescr {
    This update makes the Worker treat accepted articles as translation_pending until every enabled summary language has a saved row in article_summaries.
  }
  A["Accepted articles require translations before publishing"] --> B["updates/README_ACCEPTED_ARTICLES_REQUIRE_TRANSLATIONS.md"]
  B --> C["Auto-generated placeholder diagram"]

Accepted articles require translations before publishing

Fullscreen diagram view.

Accepted articles require translations before publishing

Section titled “Accepted articles require translations before publishing”

This update makes the Worker treat accepted articles as translation_pending until every enabled summary language has a saved row in article_summaries.

  • HOLD_ARTICLES_FOR_TRANSLATIONS is now included in generated shard Wrangler configs.
  • When summary languages are enabled, the Worker defaults to holding accepted articles until translations are complete.
  • The default Worker translation article limit increased from 6 to 18, matching the hard AI review cap, so every newly accepted article in a normal shard run can be attempted for all supported languages.
  • Existing summary lookup now chunks article URLs and quotes language filters safely, so de-CH and larger batches do not cause missed/partial lookups.
  • Worker startup logging now includes enabled summary languages, translation limit, and hold mode.

Use these values when regenerating/deploying Workers:

Terminal window
export ENABLED_SUMMARY_LANGUAGES="fr,ja,de-CH,de,el"
export HOLD_ARTICLES_FOR_TRANSLATIONS="true"
export SUMMARY_TRANSLATION_LIMIT="18"

With those settings, new accepted articles are not displayed until all five translation rows exist.