From: Raphaƫl Gertz Date: Thu, 1 Feb 2024 03:27:42 +0000 (+0100) Subject: Add note about locale requirement with underscore and not dash X-Git-Tag: 0.3.0~108 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/d2df1b62a77f4d6a3ceb6483e46bb587f5f24b16?hp=9ac7c68250fd19919f154389dda0c57ec4be1d7a Add note about locale requirement with underscore and not dash --- 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',