BeSimple/BeSimpleI18nRoutingBundle — pull request #10 by stof (2011-10-16 14:43:49+00:00)
Title: Updated the bundle to be compatible with Symfony 2.1

This updates the bundle to be compatible with symfony 2.1 by getting the locale parameter from the RequestContext instead of using the session. This way to do things works also in Symfony 2.0.

People will now get an exception when they provide the ``translate`` option to translate placeholders when the locale is not available (e.g. they did not pass it explicitly and we are in a CLI context where the router does not know the current locale) instead of leading to a broken generation.