From bc39e46c8aa191b22d27445105a7f450bcbd9fbb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Sun, 8 Aug 2021 20:09:39 +0200 Subject: [PATCH] Add note about locale requirement with underscore and not dash --- DependencyInjection/Configuration.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 2c4c7d1..caa585f 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -96,6 +96,9 @@ class Configuration implements ConfigurationInterface { ], 'locale' => '%kernel.default_locale%', 'locales' => '%kernel.translator.fallbacks%', + //XXX: revert to underscore because of that shit: + //XXX: see https://symfony.com/doc/current/components/config/definition.html#normalization + //XXX: see https://github.com/symfony/symfony/issues/7405 'languages' => '%rapsys_user.languages%', 'path' => [ 'cache' => '%kernel.project_dir%/var/cache', -- 2.41.0