[TYPO3-mvc] translate-ViewHelper question

Joerg Schoppet joerg at schoppet.de
Wed Jul 22 12:48:08 CEST 2009


Andriy Kushnarov schrieb:
> Dear all,
> 
> For translation inside fluid template I use such code:
> <f:translate key="text">Text</f:translate>
> 
> Also I would like to use this way of translation inside
> <f:form.submit value="Update" />
> to translate "value" of submit button. Could you advice some elegant
> way for that ? :)
> 
try it this way

<f:form.submit value="<f:translate key='update'>Update</f:translate>">


Joerg


More information about the TYPO3-project-typo3v4mvc mailing list