File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -212,11 +212,10 @@ caused by definition inconsistency.
212
212
213
213
.. tip ::
214
214
215
- If you use full locales (language + territory) in your application (e.g. `fr_FR `),
216
- you can use the language part only in your routes configurations (e.g. `fr `).
217
-
218
- It also prevents you from repeating yourself when you want to use the same route path
219
- for several full locales that share the same language (e.g. `fr_FR ` and `fr_BE `).
215
+ If the application uses full language + territory locales (e.g. ``fr_FR ``,
216
+ ``fr_BE ``), you can use the language part only in your routes (e.g. ``fr ``).
217
+ This prevents having to define multiple paths when you want to use the same
218
+ route path for locales that share the same language.
220
219
221
220
.. versionadded :: 4.2
222
221
The feature to fall back on the language part only was introduced in Symfony 4.2.
You can’t perform that action at this time.
0 commit comments