File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ Configuration
19
19
* `http_method_override `_
20
20
* `ide `_
21
21
* `test `_
22
+ * `default_locale `_
22
23
* `trusted_proxies `_
23
24
* `form `_
24
25
* enabled
@@ -151,6 +152,16 @@ This setting should be present in your ``test`` environment (usually via
151
152
152
153
.. _reference-framework-trusted-proxies :
153
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 `` and it is also
162
+ available with the
163
+ :method: `Symfony\\ Component\\ HttpFoundation\\ Request::getDefaultLocale ` method.
164
+
154
165
trusted_proxies
155
166
~~~~~~~~~~~~~~~
156
167
You can’t perform that action at this time.
0 commit comments