8000 Tweak · symfony/symfony-docs@4d3a6ad · GitHub
[go: up one dir, main page]

Skip to content

Commit 4d3a6ad

Browse files
committed
Tweak
1 parent e972531 commit 4d3a6ad

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

reference/configuration/framework.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1995,16 +1995,16 @@ Whether or not to enable the ``translator`` service in the service container.
19951995
enabled_locales
19961996
...............
19971997

1998-
**type**: ``array`` **default**: ``[]`` (empty array)
1998+
**type**: ``array`` **default**: ``[]`` (empty array = enable all locales)
19991999

20002000
.. versionadded:: 5.1
20012001

20022002
The ``enabled_locales`` option was introduced in Symfony 5.1.
20032003

2004-
Symfony applications enable by default all locales. This means that Symfony
2005-
generates and tracks tens of translation files (for the validation and security
2006-
messages). If your application only uses some locales, use this option to
2007-
restrict the files generated by Symfony and improve performance a bit:
2004+
Symfony applications generate by default the translation files for validation
2005+
and security messages in all locales. If your application only uses some
2006+
locales, use this option to restrict the files generated by Symfony and improve
2007+
performance a bit:
20082008

20092009
.. configuration-block::
20102010

0 commit comments

Comments
 (0)
0