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.
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.