Review main Merged

92565[FEATURE] Add LocalizationRepository methods for record translations

Benni Mack CR +2 V +2 Expert +752 −351 updated 01/29/26, 10:33

Commit message

TYPO3 historically has a lot of helper methods for localizations
in various places.

This patch aims to centralize this by marking
"LocalizationRepository" as non-internal, removing
the unused methods and adding new methods as
modern, DI-friendly alternatives to the static
BackendUtility methods:

- getRecordTranslation()
- getRecordTranslations()
- getPageTranslations()

Several internal usages have been migrated to use the new methods.

The legacy BackendUtility methods remain available for backward
compatibility until migrated completely.

Review

  • Code review CR +2 Done
    • Benni Mack +2
    • Georg Ringer +1
    • Jochen Roth +1
  • Verified V +2 Done
    • Benni Mack +2
    • Georg Ringer +1
    • Jochen Roth +1
    • core-ci +1 CI

Issues 1

Files 18

Review log 710

  1. Benni Mack uploaded patch set 1 01/28/26, 20:39

  2. core-ci voted on patch set 1 V -1 01/28/26, 20:55 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/94532

  3. Benni Mack uploaded patch set 2 V -1 01/28/26, 22:24

  4. core-ci voted on patch set 2 V -1 01/28/26, 22:36 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/94535

  5. Benni Mack uploaded patch set 3 V -1 01/29/26, 08:25

  6. core-ci voted on patch set 3 V +1 01/29/26, 08:35 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/94554

  7. Georg Ringer voted on patch set 3 CR +1 V +1 01/29/26, 09:13

  8. Jochen Roth voted on patch set 3 CR +1 V +1 01/29/26, 09:47

  9. Benni Mack voted on patch set 3 CR +2 V +2 01/29/26, 10:33

  10. Benni Mack merged patch set 4 01/29/26, 10:33