You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
currently file /Resources/views/Form/bootstrap.html.twig has same translation_domain variable for normal messages and error messages which is not compatible with current symfony, which has validation messages in file named 'validators'. Because of that, if you set translations for your form fields in ex. 'message' file then you can't use symfony validator translations.
The text was updated successfully, but these errors were encountered:
Would it help if we have two different translation_domains? I'm not really familiar with the current state of translations since I don't use them for my current projects.
I looked at how the default Symfony form template does this and they just don't supply a translation domain for error message. I have decided to do the same thing in BootstrapBundle.
Hi,
currently file /Resources/views/Form/bootstrap.html.twig has same translation_domain variable for normal messages and error messages which is not compatible with current symfony, which has validation messages in file named 'validators'. Because of that, if you set translations for your form fields in ex. 'message' file then you can't use symfony validator translations.
The text was updated successfully, but these errors were encountered: