Closed
Description
I have defined messages for the languages de
and fallback language en
.
When I execute console debug:translation de AppBundle
I only retrieve the informations to de
, but no comparison to the fallback en
, as shown in the manual.
A bit digging showed it's the test if ($translator instanceof Translator)
in function loadFallbackCatalogues
in TranslationDebugCommand.php
A dump of $translator
shows it's an instance of Symfony\Component\Translation\DataCollectorTranslator
.
When I remove the test, I get the desired output, a comparison between used and fallback language.
I'm using Symfony 3.