File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -2833,6 +2833,18 @@ Now you'll get the expected results when generating URLs in your commands::
28332833 value, but you can change it with the ``asset.request_context.base_path ``
28342834 and ``asset.request_context.secure `` container parameters.
28352835
2836+ .. note ::
2837+
2838+ By default, routes generated outside the HTTP context use the
2839+ :ref: `default locale <config-framework-default_locale >` as the value of the
2840+ ``_locale `` parameter. You can override this by providing a different value
2841+ for the ``_locale `` parameter when generating each route.
2842+
2843+ .. versionadded :: 7.4
2844+
2845+ The default locale is used as the value of the ``_locale `` parameter
2846+ starting from Symfony 7.4.
2847+
28362848Checking if a Route Exists
28372849~~~~~~~~~~~~~~~~~~~~~~~~~~
28382850
You can’t perform that action at this time.
0 commit comments