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 not found #505
Comments
@PaddyLock do you have the mopa bootstrap bundle? I was looking for people with a similar issue. This bundle doesn't load the command in a specific case: JMSTranslationBundle/DependencyInjection/JMSTranslationExtension.php Lines 36 to 38 in 7bdd5e2
The mopa bootstrap bundle requires the mopa/composer-bridge: https://github.com/phiamo/MopaBootstrapBundle/blob/419bb11abd5940e0957ca6ed254aec0ae402e382/composer.json#L29 This bridge requires the symfony class-loader and thus causes the class loader to exist and not load this command If that's not the case, find out why the class loader is installed and try to remove it. Question for the maintainers: |
@linaori Yes I do have mopa bootstrap bundle installed. I ended up using this package instead And use this to extract
However, there is also the built in symfony extractor in the docs I'm not sure which method is recommended now, I haven't looked at this for a while. |
Expected behavior
Should be able to run extraction with this command
php bin/console translation:extract en --config=app --output-format=xliff --enable-extractor=jms_i18n_routing
Actual behavior
Steps to reproduce
use following config
also installed jms/i18n-routing-bundle 3.0.2 with following config
then run the command above.
Also if I run
php bin/console list
I only see translation:update
could there be a conflict in the namespace?
The text was updated successfully, but these errors were encountered: