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

Bastian Waidelich bastian at typo3.org
Wed Jun 9 13:53:35 CEST 2010


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

-- 
slice up the elephant, baby!


More information about the TYPO3-project-typo3v4mvc mailing list