Feature #57632

Configure PageRenderer->inlineLanguageLabelFile with TypoScript

Added by Lars Malach over 7 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
TypoScript
Target version:
Start date:
2014-04-04
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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


Related issues

Related to TYPO3 Core - Bug #30863: t3lib_pagerendererClosed2011-10-12

Actions
#1

Updated by Gerrit Code Review over 7 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/29139

#2

Updated by Gerrit Code Review over 7 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/29139

#3

Updated by Mathias Schreiber almost 7 years ago

  • Target version changed from 7.0 to 7.1 (Cleanup)
#4

Updated by Benni Mack over 6 years ago

  • Target version changed from 7.1 (Cleanup) to 7.4 (Backend)
#5

Updated by Gerrit Code Review over 6 years ago

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

#6

Updated by Daniel Goerz over 6 years ago

  • Target version changed from 7.4 (Backend) to 7.5
#7

Updated by Daniel Goerz over 6 years ago

I added a Extension to test this patch. To test do the following:

  1. Install EXT:inlinelablefiles
  2. Create a new PageTree with a new root template record (make sure the page object is configured, Hello World is fine)
  3. Include the static template of EXT:inlinelablefiles
  4. See the output in the frontend (L=1 switches to german labels) in the <head>
#8

Updated by Gerrit Code Review over 6 years ago

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

#9

Updated by Gerrit Code Review over 6 years ago

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

#10

Updated by Daniel Goerz over 6 years ago

  • Sprint Focus set to On Location Sprint
#11

Updated by Gerrit Code Review over 6 years ago

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

#12

Updated by Gerrit Code Review over 6 years ago

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

#13

Updated by Gerrit Code Review over 6 years ago

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

#14

Updated by Gerrit Code Review over 6 years ago

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

#15

Updated by Gerrit Code Review over 6 years ago

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

#16

Updated by Lars Malach over 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#17

Updated by Anja Leichsenring almost 6 years ago

  • Sprint Focus deleted (On Location Sprint)
#18

Updated by Riccardo De Contardi about 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF