Skip to content

Commit 43b2098

Browse files
solazsweaverryan
authored andcommitted
Finaly touches on translation locale setting note
1 parent 79f5865 commit 43b2098

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
@@ -429,7 +429,7 @@ via the ``request`` object::
429429

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

0 commit comments

Comments
 (0)