]> Raphaël G. Git Repositories - airbundle/commitdiff
Add note about locale requirement with underscore and not dash
authorRaphaël Gertz <git@rapsys.eu>
Thu, 1 Feb 2024 03:27:42 +0000 (04:27 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 1 Feb 2024 03:27:42 +0000 (04:27 +0100)
DependencyInjection/Configuration.php

index 131ca1b5884a8b4c81b0efb592f286be58009f43..cab508582bfb1541fefd3b6db21fafd9c7402f36 100644 (file)
@@ -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',