File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 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.
212212
213213.. tip ::
214214
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.
220219
221220.. versionadded :: 4.2
222221 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