[TYPO3-mvc] Problem with translate in f:form.select option

Sebastian Fischer typo3 at fischer.im
Wed Jun 9 13:55:23 CEST 2010


On 09.06.2010 13:53, Bastian Waidelich wrote:
> Sebastian Fischer wrote:
>
> Hi Sebastian,
>
>> <f:form.select name="data[delivery]" options="{
>> pickup: '{f:translate(key: delivery_pickup)}',
>> depositing: '{f:translate(key: delivery_depositing)}',
>> shipment: '{f:translate(key: delivery_shipment)}'
>> }" value="pickup" />
>
>> How could this be fixed? First solving answer wins a beer on the dev
>> days ;)
>
> I'll take it:
>
> <f:form.select name="data[delivery]" options="{pickup:
> '{f:translate(key: \'delivery_pickup\')}', depositing:
> '{f:translate(key: \'delivery_depositing\')}', shipment:
> '{f:translate(key: \'delivery_shipment\')}'}" value="pickup" />
>
> See, mailinglist works much better than skype ;)
> Bastian
>

Hi Bastian,

thanks for this perfect solution. The beer is yours.

Greetings to all and have a fine day
Sebastian


More information about the TYPO3-project-typo3v4mvc mailing list