We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94914c5 commit d5566b1Copy full SHA for d5566b1
book/translation.rst
@@ -433,7 +433,7 @@ via the ``request`` object::
433
434
Setting the locale using the ``$request->setLocale()`` method won't affect
435
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
+ ``kernel.request`` event. Either set the locale before the listener is called
437
(e.g. in a custom listener) or use the ``setLocale()`` method of the
438
``translator`` service.
439
0 commit comments