Closed
Description
Symfony version(s) affected: 5.2.0-RC1
Description
The class TranslatableMessage (and the shorthand t() function), introduced in symfony 5.2, allows to provide translatable messages without needing the translator service.
The PhpExtractor from the translation component does extract them.
However, the translation:update (and debug:translation) command only extract from services which have the translator service injected.
Possible Solution
The only solution I can think of would be to have the extraction parse all the PHP sources, but maybe as an option not enabled by default?