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
Symfony\Component\Translation\MessageSelector: '@translator.selector'
https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Translation/CHANGELOG.md I saw that it was removed. How should I continue? Thanks in advance!
Best way is to check the Changelog https://github.com/symfony/symfony/blob/master/UPGRADE-5.0.md
The MessageSelector, Interval and PluralizationRules classes have been removed, use IdentityTranslator instead