[TYPO3-mvc] Translation of a text in a fluid marker attributes

Franz Koch typo3.RemoveForMessage at elements-net.de
Mon Apr 11 14:26:35 CEST 2011


Hey,

> <f:be.buttons.icon uri="{f:uri.action(action:'new')}" icon="new_el"
> title="Create new Job Offer" />
>
> Question : does anyone have a clue of how should such an attribute be
> translated ?

your can use the inline syntax of Fluid here, just like you did with 
{f:uri.action(...)}.

<f:be.buttons.... title="{f:translate(key:'your.label')}" />

easy as that :)

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list