Skip to content

Commit cd44e91

Browse files
committed
Minor tweak
1 parent 0b2f05a commit cd44e91

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

reference/configuration/framework.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ method.
282282
You can read more information about the default locale in
283283
:ref:`translation-default-locale`.
284284

285+
.. _reference-translator-enabled-locales:
285286
.. _reference-enabled-locales:
286287

287288
enabled_locales
@@ -337,7 +338,7 @@ application won't display any error because Symfony will display contents using
337338
the fallback locale.
338339

339340
set_content_language_from_locale
340-
...............
341+
................................
341342

342343
**type**: ``boolean`` **default**: ``false``
343344

@@ -349,16 +350,16 @@ If this option is set to ``true``, the response will have a ``Content-Language``
349350
HTTP header set with the ``Request`` locale.
350351

351352
set_locale_from_accept_language
352-
...............
353+
...............................
353354

354355
**type**: ``boolean`` **default**: ``false``
355356

356357
.. versionadded:: 5.4
357358

358359
The ``set_locale_from_accept_language`` option was introduced in Symfony 5.4.
359360

360-
The ``Request`` locale will automatically be set to the value of the
361-
``Accept-Language`` HTTP header.
361+
If this option is set to ``true``, the ``Request`` locale will automatically be
362+
set to the value of the ``Accept-Language`` HTTP header.
362363

363364
When the ``_locale`` request attribute is passed, the ``Accept-Language`` header
364365
is ignored.

0 commit comments

Comments
 (0)