Replies: 1 comment · 2 replies
-
The list of enabled locales is currently required during the compilation: symfony/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php Lines 1338 to 1341 in 9fd4503 To configure the translators: symfony/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php Lines 1770 to 1792 in 9fd4503 I think we can convert update the code so that the manipulations are compiled into the dumped container to be executed at runtime. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to have possibility setup enabledLocales via env variables but i get an error. Is it possible to solve this problem?
.env file
configuration file
Error
Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension::registerTranslatorConfiguration(): Argument #5 ($enabledLocales) must be of type array, string given, called in /var/www/html/vendor/symfony/framework-bundle/DependencyInjection/FrameworkExtension.php on line 377
Beta Was this translation helpful? Give feedback.
All reactions