[TYPO3-english] Content Object FLUIDTEMPLATE :: usage of <f:translate> viewhelper possible?

Andreas Kiessling kiessling at pluspol.info
Mon Mar 12 15:11:28 CET 2012

Hi Roland,

On 12.03.2012 14:28, Roland wrote:
> hi andreas,
>> You can just set the path as a fluid variable and then use it like this:
>> <f:translate key="{lll}globalsearch.label.searchterm" />
> that's a nice trick - thank you! :-)

To extend it even more, i would define also a TS constant named "lll"
So you can use almost the same syntax in TS objects:

10 = TEXT
10.data = {$lll}my_label

And of course, use the constant to assign the value to your fluid
template ;)


More information about the TYPO3-english mailing list