]> Raphaël G. Git Repositories - airbundle/commitdiff
Add note about locale requirement with underscore and not dash
authorRaphaël Gertz <git@rapsys.eu>
Sun, 8 Aug 2021 18:09:39 +0000 (20:09 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Sun, 8 Aug 2021 18:09:39 +0000 (20:09 +0200)
DependencyInjection/Configuration.php

index 2c4c7d195050a6392c0c480b7c4ba2b09a04c6b0..caa585f25372fa9bf9051e14340d3f912d34ef4b 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',