Skip to content

Commit

Permalink
[Reference] Add default_locale config description
Browse files Browse the repository at this point in the history
  • Loading branch information
xelaris committed Dec 30, 2014
1 parent 153565e commit 81b093c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Configuration
* `http_method_override`_
* `ide`_
* `test`_
* `default_locale`_
* `trusted_proxies`_
* `form`_
* enabled
Expand Down Expand Up @@ -151,6 +152,16 @@ This setting should be present in your ``test`` environment (usually via

.. _reference-framework-trusted-proxies:

default_locale
~~~~~~~~~~~~~~

**type**: ``string`` **default**: ``en``

This locale is used, if no ``_locale`` routing parameter has been set. It becomes
the service container parameter named ``kernel.default_locale``. It is also available
with the :method:`Request::getDefaultLocale <Symfony\\Component\\HttpFoundation\\Request::getDefaultLocale>`
method.

trusted_proxies
~~~~~~~~~~~~~~~

Expand Down

0 comments on commit 81b093c

Please sign in to comment.