Translate/scan error
Irvine87 opened this issue · comments
Ervin Kovacs commented
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.
Ervin Kovacs commented
Gosh! I find it! Need to append the same config parts to web and console.php in the basic yii2. Ahh , sorry for troubles.