Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.

Review main Ready for review Breaking

97968[!!!][TASK] Stop the language fallback chain at hidden page translations

Benni Mack CR 0 V 0 Hard +269 −109 updated 11/26/26, 15:46

Commit message

A translation of a record that exists but is not visible stops the
fallback chain, while a hidden page translation was handled like a
missing one: the page was rendered in the next language of the chain
or in the default language, also under the slug of the hidden
translation.

Pages now follow the rule for records. PageRepository selects page
translations regardless of hidden, start and end time and evaluates
their visibility after choosing the first existing translation along
the chain. A translation that is not visible marks the page with
"_TRANSLATION_NOT_VISIBLE": the page results in "page not found", is
not shown in menus, not linked and not available in language menus.
Previews that include hidden pages still show the translation.
Frontend user groups of page translations are still not evaluated.
As for records, the visibility of a page translation is evaluated
without dispatching RecordAccessGrantedEvent, which is dispatched
once for the overlaid page.
Show more Show less

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 3
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/68/97968/3 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/68/97968/3 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Relation chain 2

  1. 97968 [!!!][TASK] Stop the language fallback chain at hidden page translations This change

  2. 97535[!!!][FEATURE] Introduce site language option "languageMode" This change is based on it Benni Mack → main Expert +2049 −341 CR 0 V 0 1 unresolved

Issues 2

Files 11

Review log 36

  1. Benni Mack uploaded patch set 1 11/24/26, 18:25

  2. core-ci voted on patch set 1 V +1 11/24/26, 18:36 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115316

  3. Benni Mack uploaded patch set 2 V +1 11/26/26, 15:21

  4. core-ci voted on patch set 2 V +1 11/26/26, 15:31 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115582

  5. Benni Mack uploaded patch set 3 V +1 11/26/26, 15:38

  6. core-ci voted on patch set 3 V +1 11/26/26, 15:46 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115586