Permalink
Browse files

minor #4803 [Book][Translation] Added tip for routing params (xelaris)

This PR was merged into the 2.3 branch.

Discussion
----------

[Book][Translation] Added tip for routing params

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | no
| Applies to    | 2.3+
| Fixed tickets |

Commits
-------

acb5868 [Book][Translation] Added tip for routing params
  • Loading branch information...
weaverryan committed Jan 25, 2015
2 parents 3774a37 + acb5868 commit f9c2d6939a8d5b91e6d1cdcd0f8d654ca0796389
Showing with 6 additions and 1 deletion.
  1. +6 −1 book/translation.rst
@@ -422,7 +422,7 @@ via the ``request`` object::
.. tip::
Read :doc:`/cookbook/session/locale_sticky_session` to learn, how to store
Read :doc:`/cookbook/session/locale_sticky_session` to learn how to store
the user's locale in the session.
.. index::
@@ -502,6 +502,11 @@ as the locale for the current request.
You can now use the locale to create routes to other translated pages
in your application.
.. tip::
Read :doc:`/cookbook/routing/service_container_parameters` to learn how to
avoid hardcoding the ``_locale`` requirement in all your routes.
Setting a default Locale
~~~~~~~~~~~~~~~~~~~~~~~~

0 comments on commit f9c2d69

Please sign in to comment.