JsFormValidatorBundle
JsFormValidatorBundle copied to clipboard
FOSUserBundle and translations
Hi, have one more question.
When using FOSUserBundle, and override twig templates (for example for registration), I have some strange behavior with error translations.
| Without JsFormValidator (normal) | With JsFormValidator |
|---|---|
![]() |
![]() |
Would you give me some comments on this issue, please?
At the moment the factory uses the validator.translation_domain translation domain, which is given by Symfony with value validators.
You have different options at the moment:
- Extend this bundle and override the needed stufff
- Add the validation error messages to your "normal" translation (copy & paste) (See http://symfony.com/doc/current/book/translation.html#translating-constraint-messages)
It seems that there is no possibility to set that value explicitly

