Hello,
I'm not sure that is an issue or an invalid usage of the extractor...
I'm using "jms/translation-bundle" and when I want to extract labels from bundle, I got an error.
php app/console translation:extract nl --output-format=xliff --bundle=MyBundle
[Symfony\Component\Debug\Exception\ClassNotFoundException]
Attempted to load interface "PHPParser_NodeVisitor" from the global namespace.
Did you forget a "use" statement?
The Php parser is from "nikic/php-parser".
I must modify the extractor (ColumnTitleAnnotationTranslationExtractor) in order to get the translation files.
\PHPParser_NodeVisitor => \PhpParser\NodeVisitor
...
There is bad configuration or other mistakes ?
Thank you !
Hello,
I'm not sure that is an issue or an invalid usage of the extractor...
I'm using "jms/translation-bundle" and when I want to extract labels from bundle, I got an error.
php app/console translation:extract nl --output-format=xliff --bundle=MyBundleThe Php parser is from "nikic/php-parser".
I must modify the extractor (ColumnTitleAnnotationTranslationExtractor) in order to get the translation files.
\PHPParser_NodeVisitor => \PhpParser\NodeVisitor
...
There is bad configuration or other mistakes ?
Thank you !