use Symfony\Component\Translation\Bridge\Crowdin\CrowdinProviderFactory;
use Symfony\Component\Translation\Bridge\Loco\LocoProviderFactory;
use Symfony\Component\Translation\Bridge\Lokalise\LokaliseProviderFactory;
use Symfony\Component\Translation\Bridge\Phrase\PhraseProviderFactory;
use Symfony\Component\Translation\Provider\NullProviderFactory;
use Symfony\Component\Translation\Provider\TranslationProviderCollection;
use Symfony\Component\Translation\Provider\TranslationProviderCollectionFactory;
return static function DContainerConfigurator
$container) { $container->
services() ->
set('translation.provider_collection', TranslationProviderCollection::
class) ->
factory([service('translation.provider_collection_factory'
), 'fromConfig'
]) ->
args([ [], // Providers
]) ->
set('translation.provider_collection_factory', TranslationProviderCollectionFactory::
class) ->
args([ tagged_iterator('translation.provider_factory'
),
[], // Enabled locales
]) ->
set('translation.provider_factory.null', NullProviderFactory::
class)