I’ve followed this Yii2 tutorial in order to translate my modules’ messages separately from my main app.
In my module.php file I’ve created the ‘registerTranslations’ and the ‘t’ method.
Unfortunately, when I tried to test my modules with codeception I recideved this message: " [yii\base\InvalidConfigException] Unable to locate message source for category 'modules/…".
It’s possible that my test application does not recognize the translation? How can I solve?