File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -3660,6 +3660,22 @@ Defines the Doctrine entities that will be introspected to add
3660
3660
]);
3661
3661
};
3662
3662
3663
+ .. _reference-validation-disable_translation :
3664
+
3665
+ disable_translation
3666
+ ...................
3667
+
3668
+ **type **: ``boolean `` **default **: ``false ``
3669
+
3670
+ Validation error messages are automatically translated to the current application
3671
+ locale. Set this option to ``true `` to disable translation of validation messages.
3672
+ This is useful to avoid "missing translation" errors in applications that use
3673
+ only a single language.
3674
+
3675
+ .. versionadded :: 7.3
3676
+
3677
+ The ``disable_translation `` option was introduced in Symfony 7.3.
3678
+
3663
3679
.. _reference-validation-email_validation_mode :
3664
3680
3665
3681
email_validation_mode
You can’t perform that action at this time.
0 commit comments