Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 43b2098

Browse filesBrowse files
solazsweaverryan
authored andcommitted
Finaly touches on translation locale setting note
1 parent 79f5865 commit 43b2098
Copy full SHA for 43b2098

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎book/translation.rst

Copy file name to clipboardExpand all lines: book/translation.rst
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.