Just enable the locales we really need in symfony framework.

This should improve performance a little bit.
This commit is contained in:
Jan Böhmer 2022-07-21 23:47:00 +02:00
parent 95fcc15634
commit ca41df79ed

View file

@ -1,5 +1,7 @@
framework:
default_locale: '%partdb.locale%'
# Just enable the locales we need for performance reasons.
enabled_locale: '%partdb.locale_menu%'
translator:
default_path: '%kernel.project_dir%/translations'
fallbacks: