Answer the question
In order to leave comments, you need to log in
How to use yii message console command?
I want to make a standard internationalization of the application, with the storage of translations in php files. I did it according to the instructions, but it confuses the need to write the path to the config every time it starts.
In the source code, the action declaration looks like this:
But when run without a parameter, it gives an error, even if the configuration file was created by the commandpublic function actionExtract($configFile = null)
yii message/config-template common/config/message.php
yii message common/config/message.php
Answer the question
In order to leave comments, you need to log in
It is triggered by its location, how do you override it? Just move message.php to the root
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question