Customize form errors in Symfony2 using FOSUserBundle
===

I'm developping a website using Symfony2 and FOSUserBundle for the user side. I'm trying to customize the registration form, and i'm experimenting some problems.

1. I tried to follow the doc to include field errors beside the field, but it only show it on the top of the form;
2. When both passwords aren't the same, there's an error written in the top of the form: The value is not valid. This is not very clear, and I'd like to translate it in french but I can't seem to find it in the language files. I used to translate all the forms, except that error.

Here is my template code for the registration form:

    <?php

    namespace Mj2m\UserBundle\Form\Type;

    use Symfony\Component\Form\FormBuilder;
    use FOS\UserBundle\Form\Type\RegistrationFormType as BaseType;

    class RegistrationFormType extends BaseType
    {
        public function buildForm( FormBuilder $builder, array $options)
        {
            parent::buildForm($builder, $options);

            $builder->add( "region" )
                    ->add( "description" )
                    ->add( "enfants", "collection", array("type"        => new EnfantType,
                                                          "prototype"   => true,
                                                          "allow_add"   => true) );
            
        }

        public function getName()
        {
            return 'mj2m_user_registration';
        }
    }
    ?>