I'm using this module: https://github.com/zelenin/yii2-i18n-module and I like it in your project.
However translation of your strings does not work. I've been looking for the reason and I noticed in the debug toolbar that it is not searching in the category you defined.
I guess this is because you have a
public static function t
In all your Module classes.
I understand you wanted to make your life easier, but I think this is not the way you should be using it. As it breaks functionality to move to DbMessageSource.
Hi,
I'm using this module: https://github.com/zelenin/yii2-i18n-module and I like it in your project. However translation of your strings does not work. I've been looking for the reason and I noticed in the debug toolbar that it is not searching in the category you defined. I guess this is because you have a
In all your Module classes.
I understand you wanted to make your life easier, but I think this is not the way you should be using it. As it breaks functionality to move to DbMessageSource.