Skip to content

Commit d38e3eb

Browse files
solazsweaverryan
authored andcommitted
Finaly touches on translation locale setting note
1 parent 1bfc46d commit d38e3eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/translation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ via the ``request`` object::
435435

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

0 commit comments

Comments
 (0)