Category: service

removed MessageSelector in Symfony/Component/Translation

I just tried to upgrade to Symfony 5.0, however, I get the following error: You have requested a non-existent service “translator.selector”. In my code in services.yaml I have SymfonyComponentTranslationMessageSelector: ‘@translator.selector’ https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Translation/CHANGELOG.md I saw that it was removed. How should I…