[TYPO3-mvc] translate-ViewHelper question
Julian Kleinhans
jk at marketing-factory.de
Wed Jul 22 13:13:11 CEST 2009
Hi,
>> try it this way
>>
>> <f:form.submit value="<f:translate key='update'>Update</f:translate>">
>
> Or use the more elegant "inline notation":
>
> <f:form.submit value="{f:translate('Update' key= 'update')}</f:translate>">
<nitpickedModus>
but without closing tag (copy/paste error) ;-)
<f:form.submit value="{f:translate('Update' key= 'update')}">
</nitpickedModus>
;-)
regards
julian kleinhans
>
> the syntax is:
>
> {f:viewHelper(<childnodes> attribute1="value1", attribute2="value2")}
>
> so e.g.:
>
> {f:format.date('{post.date}' format='Y-m-d H:i:s')}
>
> Bastian
More information about the TYPO3-project-typo3v4mvc
mailing list