File tree 1 file changed +5
-5
lines changed 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1995,16 +1995,16 @@ Whether or not to enable the ``translator`` service in the service container.
1995
1995
enabled_locales
1996
1996
...............
1997
1997
1998
- **type **: ``array `` **default **: ``[] `` (empty array)
1998
+ **type **: ``array `` **default **: ``[] `` (empty array = enable all locales )
1999
1999
2000
2000
.. versionadded :: 5.1
2001
2001
2002
2002
The ``enabled_locales `` option was introduced in Symfony 5.1.
2003
2003
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:
2008
2008
2009
2009
.. configuration-block ::
2010
2010
You can’t perform that action at this time.
0 commit comments