Skip to content

Commit 2655872

Browse files
committed
Merge branch '6.2' into 6.3
* 6.2: [Translation] fix wrong information
2 parents 9facdbc + 154e0d9 commit 2655872

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

translation.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,8 @@ of:
860860

861861
* All the services that are tagged with ``kernel.locale_aware``;
862862
* ``\Locale::setDefault()``;
863-
* If a request is available, the ``_locale`` request attribute::
863+
* If the ``RequestContext`` service is available, the ``_locale``
864+
parameter (so urls are generated with the new locale)::
864865

865866
use Symfony\Component\Translation\LocaleSwitcher;
866867

0 commit comments

Comments
 (0)