We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 532a72c commit 48bd240Copy full SHA for 48bd240
src/Symfony/Bundle/FrameworkBundle/Resources/config/translation.php
@@ -61,7 +61,7 @@
61
'debug' => param('kernel.debug'),
62
],
63
abstract_arg('enabled locales'),
64
- service('translation.fallback_locale_provider')
+ service('translation.fallback_locale_provider')->ignoreOnInvalid()
65
])
66
->call('setConfigCacheFactory', [service('config_cache_factory')])
67
->tag('kernel.locale_aware')
@@ -79,6 +79,7 @@
79
->args([service('identity_translator')])
80
81
->set('translation.fallback_locale_provider', FallbackLocaleProvider::class)
82
+
83
->alias(FallbackLocaleProviderInterface::class, 'translation.fallback_locale_provider')
84
85
->set('translation.loader.php', PhpFileLoader::class)
0 commit comments