web-publisher
web-publisher copied to clipboard
Command "translation:extract" is not defined.
Expected Behavior
It should be possible to extract translations from twig files with the following command according to the docs.
bin/console translation:extract en --dir=./src/SWP/Bundle/FixturesBundle/Resources/themes/DefaultTheme/ --output-dir=./src/SWP/Bundle/FixturesBundle/Resources/themes/DefaultTheme/translations
Current Behavior
But I get the following output when running translation:extract
:
Command "translation:extract" is not defined.
Do you want to run "translation:update" instead? (yes/no) [no]:
>
And the output from php bin/console list
don't mention the translation:extract
command. It only lists the translation:update
command.
translation
translation:update Updates the translation file
Could it be connected to this issue? https://github.com/schmittjoh/JMSTranslationBundle/issues/505