I have this widget:
$this->setWidget('slug', new sfWidgetFormDoctrineChoice(array('model'
=> 'MyTable', 'method' => 'myMethod', 'key_method' => 'myMethod',
'add_empty' => 'Select option')));
OK, what should I do to translate "Choose an Option"?
I cannot use the __ () helper inside the form and adding this line to my XLIFF file does not translate automatically.
If this is not possible, what workaround should I implement? I cannot find in any way, and not one of them can find any advice in the official documentation.
Thank!
source
share