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

Review main Work in progress Orphaned

92943[WIP][TASK] Deprecate inline language labels (TYPO3.lang)

Benjamin Franzke CR -1 V -1 Hard +297 −91 updated 02/25/26, 10:14

Commit message

This patch deprecates inline language labels
in favor of the JavaScript Label API that allows
to require labels as module dependencies instead
of requiring the execution environment to provide
labels globally.

That means the following components are deprecated:

 * TYPO3.lang in backend (and frontend!)
   (throws `console.warn()` when used in JS)
 * `PageRenderer->addInlineLanguageLabelLabel()`
 * `PageRenderer->addInlineLanguageLabelFile()`
 * `PageRenderer->addInlineLanguageLabelArray()`
 * <f:be.pageRenderer addJsInlineLabel="…"
 * FormEngine `$result['additionalInlineLanguageLabelFiles']

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

Review

  • Code review CR -1 Needs a vote
    • Benjamin Franzke -1
  • Verified V -1 Blocked
    • core-ci -1 CI

Issues 1

Files 30

Show 10 more files

Review log 1018

  1. Benjamin Franzke uploaded patch set 1 02/21/26, 20:44

  2. core-ci voted on patch set 1 V -1 02/21/26, 21:04 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/96472

  3. Benjamin Franzke uploaded patch set 2 V -1 02/22/26, 05:34

  4. core-ci voted on patch set 2 V -1 02/22/26, 05:58 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/96495

  5. Benjamin Franzke wrote 02/22/26, 13:27

    Hashtag added: labels
  6. Benjamin Franzke uploaded patch set 3 V -1 02/22/26, 19:30

  7. core-ci voted on patch set 3 V -1 02/22/26, 19:46 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/96523

  8. Benjamin Franzke uploaded patch set 4 V -1 02/23/26, 09:12

  9. core-ci voted on patch set 4 V -1 02/23/26, 09:24 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/96547

  10. Benjamin Franzke uploaded patch set 5 V -1 02/23/26, 09:47

  11. core-ci voted on patch set 5 V -1 02/23/26, 09:57 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/96548

  12. Benjamin Franzke uploaded patch set 6 V -1 02/23/26, 10:19

  13. core-ci voted on patch set 6 V -1 02/23/26, 12:12 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/96557

  14. core-ci voted on patch set 6 V +1 02/23/26, 12:39 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/96557

  15. Simon Schaufelberger voted on patch set 6 CR +1 V +1 02/24/26, 10:39

  16. Benjamin Franzke commented on patch set 6 CR -1 02/24/26, 10:55

    Deprecation-109062-DeprecateInlineLanguageLabelsTYPO3lang.rst:37 Unresolved

    TypoScript `inlineLanguageLabelFiles` is missing here, incording a recommended alternative for frontend usages.
  17. Benjamin Franzke uploaded patch set 7 CR +1 V +1 02/25/26, 09:35

  18. core-ci voted on patch set 7 V -1 02/25/26, 10:14 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/96806