Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command "translation:extract" is not defined. #1161

Open
kottkrig opened this issue Oct 20, 2020 · 1 comment
Open

Command "translation:extract" is not defined. #1161

kottkrig opened this issue Oct 20, 2020 · 1 comment

Comments

@kottkrig
Copy link
Contributor

kottkrig commented Oct 20, 2020

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
@kottkrig
Copy link
Contributor Author

Could it be connected to this issue? schmittjoh/JMSTranslationBundle#505

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant