From d2df1b62a77f4d6a3ceb6483e46bb587f5f24b16 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 1 Feb 2024 04:27:42 +0100 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 131ca1b..cab5085 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.1