From ca41df79ed5d1d87613dde4170a264fbca4b3854 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Thu, 21 Jul 2022 23:47:00 +0200 Subject: [PATCH] Just enable the locales we really need in symfony framework. This should improve performance a little bit. --- config/packages/translation.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/packages/translation.yaml b/config/packages/translation.yaml index 8bf580ea..7266a176 100644 --- a/config/packages/translation.yaml +++ b/config/packages/translation.yaml @@ -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: