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.
2 parents 9facdbc + 154e0d9 commit 2655872Copy full SHA for 2655872
translation.rst
@@ -860,7 +860,8 @@ of:
860
861
* All the services that are tagged with ``kernel.locale_aware``;
862
* ``\Locale::setDefault()``;
863
-* If a request is available, the ``_locale`` request attribute::
+* If the ``RequestContext`` service is available, the ``_locale``
864
+ parameter (so urls are generated with the new locale)::
865
866
use Symfony\Component\Translation\LocaleSwitcher;
867
0 commit comments