Skip to content

Commit 2e0aa7b

Browse files
authored
Merge pull request #4669 from MGatner/set-locale
Add setLocale to UG
2 parents 48365c5 + cf21718 commit 2e0aa7b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

user_guide_src/source/outgoing/localization.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ method that will automatically perform :doc:`content negotiation </incoming/cont
5252
determine the correct locale to use. The second method allows you to specify a segment in your routes that
5353
will be used to set the locale.
5454

55+
Should you ever need to set the locale directly you may use ``IncomingRequest::setLocale(string $locale)``.
56+
5557
Content Negotiation
5658
-------------------
5759

0 commit comments

Comments
 (0)