]> Raphaƫl G. Git Repositories - airbundle/blobdiff - DependencyInjection/Configuration.php
Add note about locale requirement with underscore and not dash
[airbundle] / DependencyInjection / Configuration.php
index 131ca1b5884a8b4c81b0efb592f286be58009f43..cab508582bfb1541fefd3b6db21fafd9c7402f36 100644 (file)
@@ -96,6 +96,9 @@ class Configuration implements ConfigurationInterface {
                        ],
                        'locale' => '%kernel.default_locale%',
                        'locales' => '%kernel.translator.fallbacks%',
                        ],
                        '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',
                        'languages' => '%rapsys_user.languages%',
                        'path' => [
                                'cache' => '%kernel.project_dir%/var/cache',