8000 Finaly touches on translation locale setting note · symfony/symfony-docs@d5566b1 · GitHub
[go: up one dir, main page]

Skip to content

Commit d5566b1

Browse files
committed
Finaly touches on translation locale setting note
1 parent 94914c5 commit d5566b1

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

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

0 commit comments

Comments
 (0)
0