8000 [Translation] fix wrong information · symfony/symfony-docs@88cd3ac · GitHub
[go: up one dir, main page]

Skip to content

Commit 88cd3ac

Browse files
committed
[Translation] fix wrong information
1 parent 5903893 commit 88cd3ac

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
@@ -853,7 +853,8 @@ of:
853853

854854
* All the services that are tagged with ``kernel.locale_aware``;
855855
* ``\Locale::setDefault()``;
856-
* If a request is available, the ``_locale`` request attribute::
856+
* If the ``RequestContext`` service is available, the ``_locale``
857+
parameter::
857858

858859
use Symfony\Component\Translation\LocaleSwitcher;
859860

0 commit comments

Comments
 (0)
0