Extract translations from form widgets 'placeholder'- and 'title'-attributes

Symfony2 not only translates the 'label' attribute of form widgets but it also translates the 'placeholder' and the 'title' attributes of form widgets.

So I guess it would be nice if the JMSTranslationBundle also extracted translations from these attributes from the *Type.php files.

Inside your From-Type:

...
public function buildForm(FormBuilderInterface $builder, array $options) {

   $builder->add('name', 'text', array('label'=>'entity.form.name.label', 
                                       'attr' => array('placeholder' => 'enter.your.name.here', 
                                                       'title' => 'entity.form.name.title'
                                                       )
                                       )
                 );