[TYPO3-mvc] Fluid variable in key of translate viewhelper?
Bastian Waidelich
bastian at typo3.org
Fri Jul 27 09:39:32 CEST 2012
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?
--
Bastian Waidelich
TYPO3 Core Team Member
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the TYPO3-project-typo3v4mvc
mailing list