Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion translation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,8 @@ of:

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

use Symfony\Component\Translation\LocaleSwitcher;

Expand Down