Yii2: ./yii message/extract

Created on 5 Jun 2018  路  5Comments  路  Source: yiisoft/yii2

Hello. Im trying to extract translations to dictionary but when i call this command process freezes in console. Can you give me an advice how can I check what trouble is in?

I've made extract on this project about month ago and it worked properly. But now I meet this problem. May it be because of large amount of translations?

need more info bug

Most helpful comment

You can close issue, I've found problem. I added to except /web folder and now everything ok. But I don't understand why((

All 5 comments

Try deleting 50% of the source code and see if it works. If yes - that's something in the part you've deleted. If no - that's something in the part that's left. Repeat that till you'll find what causes it to fail. When culprit is there, post it here so we can reproduce it.

Thanks for posting in our issue tracker.
In order to properly assist you, we need additional information:

  • When does the issue occur?
  • What do you see?
  • What was the expected result?
  • Can you supply us with a stacktrace? (optional)
  • Do you have exact code to reproduce it? Maybe a PHPUnit tests that fails? (optional)

Thanks!

_This is an automated comment, triggered by adding the label status:need more info._

I have deleted almost all source code and nothing helped. In other project on this computer everything ok.

@samdark i noticed that when i comment line "'sourcePath' => '@app'," in messages.php script of translation is running, otherwise it doesn't. But when this line is commented messages extract only in yii.php file

You can close issue, I've found problem. I added to except /web folder and now everything ok. But I don't understand why((

Was this page helpful?
0 / 5 - 0 ratings