-
Notifications
You must be signed in to change notification settings - Fork 293
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
Extractor searching same directories mulitple times #97
Comments
Can someone confirm this bug so I know if this happens only to me? Regards |
same problem here, The result of extraction does not seems to be wrong for first locale, runs quickly, only one line in the log I think we gonna need a very powerfull server to extract translations when we get a fourth locale :) |
Supplying multiple locales is just a short cut for running the command with each locale successively. As such the current behavior is expected. Iterating the files just once should be possible although requires some changes to the internals. If someone needs the performance improvement that comes with it, a pull request would be appreciated. |
setDirectories is in fact adding directories not setting them fixes schmittjoh#97
@tkleinhakisa good job, thx |
I am extracting translations for several languages with such command:
php app/console --env=dev translation:extract pl de it --config=app
In output I can see that after each iteration every source directory is duplicated - every next language keeps searching directories from previous languages:
here is my config from app.yml:
Is this bug in bundle or should I look for bug in my code?
The text was updated successfully, but these errors were encountered: