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 5903893 commit 87a2dc2Copy full SHA for 87a2dc2
translation.rst
@@ -853,7 +853,8 @@ of:
853
854
* All the services that are tagged with ``kernel.locale_aware``;
855
* ``\Locale::setDefault()``;
856
-* If a request is available, the ``_locale`` request attribute::
+* If the ``RequestContext`` service is available, the ``_locale``
857
+ parameter (so urls are generated with the new locale)::
858
859
use Symfony\Component\Translation\LocaleSwitcher;
860
0 commit comments