Commit 24598511 authored by Fabien Potencier's avatar Fabien Potencier

tweaked the description of the locale parameter (refs #384)

parent 7241e870
...@@ -245,9 +245,10 @@ Core parameters ...@@ -245,9 +245,10 @@ Core parameters
This parameter can be used by the ``UrlGeneratorProvider``. This parameter can be used by the ``UrlGeneratorProvider``.
* **locale** (optional): The locale used by default. * **locale** (optional): The locale of the user. When set before any request
handling, it defines the default locale (``en`` by default). When a request
Defaults to ``en``. is being handled, it is automatically set according to the ``_locale``
request attribute of the current route.
* **debug** (optional): Returns whether or not the application is running in * **debug** (optional): Returns whether or not the application is running in
debug mode. debug mode.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment