Skip to content

Commit

Permalink
Finaly touches on translation locale setting note
Browse files Browse the repository at this point in the history
  • Loading branch information
solazs authored and weaverryan committed Mar 20, 2015
1 parent 79f5865 commit 43b2098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/translation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ via the ``request`` object::

Setting the locale using the ``$request->setLocale()`` method won't affect
rendering in the same action. The translator locale is set during the
kernel.request event. Either set the locale before the listener is called
``kernel.request`` event. Either set the locale before the listener is called
(e.g. in a custom listener) or use the ``setLocale()`` method of the
``translator`` service.

Expand Down

0 comments on commit 43b2098

Please sign in to comment.