[TYPO3-dev] Better intelligence in translate view helper

Olle Haerstedt o.haerstedt at bitmotion.de
Fri Sep 12 20:06:29 CEST 2014


I have a for-loop in a Fluid template which translate a button text over and over. To improve on performance, I removed the view helper and translated the text once in the controller instead. My questions is, would be possible to build in more intelligence in the view helper, so that is it automatically called only once for each output? Memoizing the result, that is. Preferebly without creating a bunch of objects every time.



More information about the TYPO3-dev mailing list