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

Roland most.wanted at gmx.at
Mon Mar 12 17:48:51 CET 2012


thumbs up! :-)


Am 12.03.12 15:11, schrieb Andreas Kiessling:
> 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 ;)
>
> Regards,
> Andreas



More information about the TYPO3-english mailing list