We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbc7a2b commit 928fb41Copy full SHA for 928fb41
validation/custom_constraint.rst
@@ -182,10 +182,9 @@ The ``addViolation()`` method call finally adds the violation to the context.
182
183
.. tip::
184
185
- Validation error messages are automatically passed to the Symfony
186
- Translation component. If your application doesn't use translations, you
187
- can disable this behavior by calling the ``disableTranslation()`` method
188
- of ``ConstraintViolationBuilderInterface``.
+ Validation error messages are automatically translated to the current application
+ locale. If your application doesn't use translations, you can disable this behavior
+ by calling the ``disableTranslation()`` method of ``ConstraintViolationBuilderInterface``.
189
190
.. versionadded:: 6.4
191
0 commit comments