lajax / yii2-translate-manager

Translation Manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Translate/scan error

Irvine87 opened this issue · comments

I am using the basic yii2 and when I try to run the ./yii translate/scan command, I get this error message after the Extreacting messages: Exception 'yii\base\InvalidConfigException' with message 'Unable to locate message source for category 'DbMessageSource'.'
I inserted the config parts to my config into web.php and console.php, but I cannot find where is the problem.

Gosh! I find it! Need to append the same config parts to web and console.php in the basic yii2. Ahh , sorry for troubles.