TYPO3 v15 dev-main snapshot ()

This commit is contained in:
2026-08-10 22:31:09 +02:00
commit af8cc155b5
6818 changed files with 642608 additions and 0 deletions
@@ -0,0 +1,27 @@
.. include:: /Includes.rst.txt
.. _feature-65698:
===========================================================================
Feature: #65698 - Additional localization files in backend workspace module
===========================================================================
See :issue:`65698`
Description
===========
The AdditionalResourceService of the workspace module in the backend is extended
by the functionality to register custom localization files that are forwarded to
the PageRenderer in the end. This way, labels can be accessed in JavaScript using
the TYPO3.l10n.localize() function for instance.
.. code-block:: php
\TYPO3\CMS\Workspaces\Service\AdditionalResourceService::getInstance()->addLocalizationResource(
'EXT:my_extension/Resources/Private/Language/locallang.xlf'
);
.. index:: PHP-API, Backend, ext:workspaces