Feature #57632
closed
Configure PageRenderer->inlineLanguageLabelFile with TypoScript
Added by Lars Malach over 10 years ago.
Updated about 7 years ago.
Description
TYPO3\CMS\Core\Page\PageRenderer offers with the function addInlineLanguageLabelFile the possibility to add XML/XLF language files as inline JavaScript settings / array.
It would be cool to use TypoScript on top of that. Of example:
page.addInlineLanguageLabelFile {
blubExtension = EXT:blub/Resources/Private/Language/locallang.xlf
blubExtension.selectionPrefix = ..
blubExtension.stripFromSelectionName = ..
blubExtension.errorMode = ..
..
}
Files
- Status changed from New to Under Review
- Target version changed from 7.0 to 7.1 (Cleanup)
- Target version changed from 7.1 (Cleanup) to 7.4 (Backend)
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/29139
- Target version changed from 7.4 (Backend) to 7.5
I added a Extension to test this patch. To test do the following:
- Install EXT:inlinelablefiles
- Create a new PageTree with a new root template record (make sure the page object is configured, Hello World is fine)
- Include the static template of EXT:inlinelablefiles
- See the output in the frontend (L=1 switches to german labels) in the
<head>
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/29139
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/29139
- Sprint Focus set to On Location Sprint
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/29139
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/29139
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/29139
Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/29139
Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/29139
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Sprint Focus deleted (
On Location Sprint)
- Status changed from Resolved to Closed
Also available in: Atom
PDF