[TYPO3-mvc] Fluid variable in key of translate viewhelper?

Tobias Liegl tliegl at gmail.com
Fri Jul 27 10:41:48 CEST 2012


Hi Bastian,

yes it works! Explanation of the problem/solution in my answer to 
Stefans post.

Thanks!
Tobi


Am 27.07.12 09:39, schrieb Bastian Waidelich:
> Tobias Liegl wrote:
>
> Hi Tobias,
>
>> is it possible to use a variable in the key of the translate viewhelper?
>> Something like this?
>>
>> <f:translate key="tx_myext.month.{month}" />
>
> Sure, that should work {month} is replaced before the ViewHelper parses
> the key argument. Maybe in your case {month} is casted to an integer
> somewhere and the leading zero is removed?
>
>



More information about the TYPO3-project-typo3v4mvc mailing list