Review main Ready for review Stale

77903[FEATURE] Add hideTranslation to LinkHandler config

Stefan Froemken CR 0 V 0 Normal +72 −0 updated 06/18/26, 23:05

Commit message

Add a new option `hideTranslation` to LinkHandler configuration to
hide translated records from ElementBrowser.

As most extbase based extensions and many other extensions with plugins
need the UID of a record for translation in default language, you can now
activate `hideTranslation` in your LinkHandler configuration to
prevent your editors to choose from these translated records.

If `hideTranslation` is missing in your LinkHandler configuration TYPO3
uses the configuration from pageTSconfig (mod) to set `hideTranslation` as
a fallback.

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 2
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/03/77903/2 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/03/77903/2 && git cherry-pick FETCH_HEAD

Review

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

Issues 1

Files 2

Review log 810

  1. Stefan Froemken uploaded patch set 1 02/20/23, 14:35

  2. core-ci voted on patch set 1 V -1 02/20/23, 14:58 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/37898

  3. Stefan Froemken uploaded patch set 2 V -1 02/20/23, 15:28

  4. Stefan Froemken commented on patch set 2 02/20/23, 15:29

    I thought we had an indent size of 4 in rst files?!?!
  5. core-ci voted on patch set 2 V +1 02/20/23, 15:35 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/37901

  6. Benni Mack commented on patch set 2 03/24/23, 08:25

    wouldn't it be cooler to have comma-separated list of language IDs (or locales) to render?
  7. Stefan Froemken commented on patch set 2 04/14/23, 19:58

    Hi Benni. "I comma separated list"? No no...please not. Only inline records have a relation to the UID of the same language. All other relations needs the UID of the record in default language.
  8. Guido Schmechel commented on patch set 2 06/04/25, 13:02

  9. Benni Mack wrote 04/21/26, 14:58

    Removed cc Benni Mack.
  10. Christian Kuhn wrote 06/18/26, 23:05

    Removed reviewer Christian Kuhn.