Thursday, May 24, 2012

Calling the i18n Function __() in a Form in Symfony

Do not use __() in forms! Use translate:

$this->getWidgetSchema()->getFormFormatter()->translate('exampletext');

1 comment: