We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fee9ee commit acb5868Copy full SHA for acb5868
book/translation.rst
@@ -422,7 +422,7 @@ via the ``request`` object::
422
423
.. tip::
424
425
- Read :doc:`/cookbook/session/locale_sticky_session` to learn, how to store
+ Read :doc:`/cookbook/session/locale_sticky_session` to learn how to store
426
the user's locale in the session.
427
428
.. index::
@@ -502,6 +502,11 @@ as the locale for the current request.
502
You can now use the locale to create routes to other translated pages
503
in your application.
504
505
+.. tip::
506
+
507
+ Read :doc:`/cookbook/routing/service_container_parameters` to learn how to
508
+ avoid hardcoding the ``_locale`` requirement in all your routes.
509
510
Setting a default Locale
511
~~~~~~~~~~~~~~~~~~~~~~~~
512
0 commit comments