diff --git a/session/locale_sticky_session.rst b/session/locale_sticky_session.rst index f703c2edd37..47a96cf6d31 100644 --- a/session/locale_sticky_session.rst +++ b/session/locale_sticky_session.rst @@ -13,7 +13,7 @@ in the session, so that it's used on subsequent requests. Creating a LocaleSubscriber --------------------------- -Create and a :ref:`new event subscriber `. Typically, ``_locale`` +Create a :ref:`new event subscriber `. Typically, ``_locale`` is used as a routing parameter to signify the locale, though you can determine the correct locale however you want:: @@ -180,7 +180,7 @@ event:: If you're using the :ref:`default services.yml configuration `, you're done! Symfony will automatically know about the event subscriber will pass -your the ``session`` service. Now, when you login, the user's locale will be set +you the ``session`` service. Now, when you login, the user's locale will be set into the session. .. caution::