Skip to content

Commit 02cc739

Browse files
Minor reword
1 parent c15df9d commit 02cc739

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

routing.rst

+4-5
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)