Feature #79928
closedPageTS config from file not localizable
0%
Description
In the function \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerPageTSConfigFile()
one can not enter a language string like LLL:EXT:my_ext/Resources/Private/Language/locallang_db.xlf:pages.pageTSconfig.my_ext_be_layouts
because the title parameter will be concatenated with the extension key in braces, thus breaking the LLL replacement logic. If one does add the LLL string, the replacement will be an empty string.
Could we remove the extension key part or at least detect, if the title is a LLL string? It would be nice if we could use the LLL replacement logic here, too.
Updated by Kevin Ditscheid almost 8 years ago
This also applies to the function \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile()
of the same reasons
Updated by Sybille Peters almost 5 years ago
Still reproducible in 9.5.11.
Is this not a bug?
Updated by Georg Ringer over 4 years ago
- Related to Feature #77540: ExtensionManagementUtility::addStaticFile language handling for $title added
Updated by Gerrit Code Review over 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63693
Updated by Gerrit Code Review over 4 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63693
Updated by Georg Ringer over 4 years ago
- Status changed from Under Review to Rejected
I am closing this issue because it would lead to an inconsistent behaviour in the backend. Having the extension key added to the label is very nice as it improves the search a lot.
If you need it translated - which I fully understand as well - please modify the TCA directly which is absolutly valid too by adding it to $GLOBALS['TCA']['pages']['columns']['tsconfig_includes']['config']['items']
directly.