We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 153565e commit 81b093cCopy full SHA for 81b093c
reference/configuration/framework.rst
@@ -19,6 +19,7 @@ Configuration
19
* `http_method_override`_
20
* `ide`_
21
* `test`_
22
+* `default_locale`_
23
* `trusted_proxies`_
24
* `form`_
25
* enabled
@@ -151,6 +152,16 @@ This setting should be present in your ``test`` environment (usually via
151
152
153
.. _reference-framework-trusted-proxies:
154
155
+default_locale
156
+~~~~~~~~~~~~~~
157
+
158
+**type**: ``string`` **default**: ``en``
159
160
+This locale is used, if no ``_locale`` routing parameter has been set. It becomes
161
+the service container parameter named ``kernel.default_locale``. It is also available
162
+with the :method:`Request::getDefaultLocale <Symfony\\Component\\HttpFoundation\\Request::getDefaultLocale>`
163
+method.
164
165
trusted_proxies
166
~~~~~~~~~~~~~~~
167
0 commit comments