Skip to content

Add cross_site_translations field and newsroom param to translate#405

Merged
JesseWynants merged 1 commit into
masterfrom
feature/cross-site-translations
May 7, 2026
Merged

Add cross_site_translations field and newsroom param to translate#405
JesseWynants merged 1 commit into
masterfrom
feature/cross-site-translations

Conversation

@JesseWynants
Copy link
Copy Markdown
Contributor

@JesseWynants JesseWynants commented May 7, 2026

Summary

  • Adds cross_site_translations: StoryRef[] to Story.ExtraFields (and registers it in ALL_EXTRA_FIELDS_SHAPE so it's available via include)
  • Adds optional newsroom param to TranslateRequest, forwarded by Stories.translate(), allowing translations to be created in another newsroom (cross-site)
  • Bumps version to 26.4.0

Companion to prezly/prezly#18650.

Test plan

  • npx tsc --noEmit passes
  • npx vitest run passes (48/48)
  • npx biome ci passes on changed files
  • CI green

- Add cross_site_translations to Story.ExtraFields
- Add newsroom param to Story translate request
@JesseWynants JesseWynants self-assigned this May 7, 2026
@JesseWynants JesseWynants merged commit 4f4ec0c into master May 7, 2026
5 checks passed
@JesseWynants JesseWynants deleted the feature/cross-site-translations branch May 7, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant