Skip to content

FEATURE: Retranslation - #95

Merged
nezaniel merged 62 commits into
3.1from
retranslationUpmerge
Jul 8, 2026
Merged

nezaniel merged 62 commits into
3.1from
retranslationUpmerge

Conversation

@nezaniel

Copy link
Copy Markdown
Member

This adds the 2.x / Neos 8 retranslation feature to 3.x / Neos 9.
uses a custom projection to track stale translations on property level to avoid unnecessary retranslations.

Bernhard Schmitt and others added 30 commits April 7, 2026 12:02
@Sebobo

Sebobo commented Jun 26, 2026

Copy link
Copy Markdown

From what I could see when checking the core, the UI part does not pass a contentRepositoryId and the endpoint assumes default. So this would not work with additional repos.

I could not test or try to fix the issue locally yet, as the getmetadata of the editor redirects me to the login all the time. I couldn't fix this yet with cache flush, session destroy or similar. Not sure what is off.

@nezaniel

nezaniel commented Jul 3, 2026

Copy link
Copy Markdown
Member Author

From what I could see when checking the core, the UI part does not pass a contentRepositoryId and the endpoint assumes default. So this would not work with additional repos.

I could not test or try to fix the issue locally yet, as the getmetadata of the editor redirects me to the login all the time. I couldn't fix this yet with cache flush, session destroy or similar. Not sure what is off.

I made the parameter required in the endpoints, the UI part still needs to be adjusted

@nezaniel
nezaniel changed the base branch from 3.0 to 3.1 July 8, 2026 13:49
@nezaniel
nezaniel merged commit 8cdc431 into 3.1 Jul 8, 2026
6 checks passed
JamesAlias added a commit to sandstorm/Sitegeist.LostInTranslation that referenced this pull request Jul 22, 2026
Resolves conflicts after the branch's base (retranslationUpmerge, PR sitegeist#95) was
merged into 3.x and released as v3.3, and 3.3 then gained independent
retranslation work (notably whole-workspace retranslation).

Key resolutions:
- Retranslator: keep this branch's cross-workspace per-node engine, renamed
  retranslateNode -> retranslateSubtree to match released v3.3; keep 3.3's
  retranslateWorkspace() + helpers (both whole-workspace paths kept,
  alongside FullWorkspaceSynchronizer). Callers renamed accordingly.
- ReferenceDimensionSpacePointResolver: adopt 3.3's options.referenceLanguage
  config key; keep this branch's findAllTargetDimensionSpacePoints() API.
  All dimension-config fixtures/settings updated to options.referenceLanguage.
- StaleTranslationProjection: keep this branch's handlers (empty structural
  rows retained); keep 3.3's automaticTranslation guard where auto-merged.
- Neos.Ui: take 3.3's contentRepositoryId + isPending; Plugin.js rebuilt.
- CI/tooling: take 3.3's phpcs.xml.dist + phpstan scanDirectories; keep this
  branch's Behat job.
- Behat: keep this branch's suites; 3.3's workspace-retranslation scenario
  preserved in a new standalone WorkspaceRetranslation.feature.
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.

6 participants