vova07 / yii2-start

Yii2-Start application
Other
273 stars 115 forks source link

Using translations module #121

Closed golles closed 9 years ago

golles commented 9 years ago

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

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.

golles commented 9 years ago

I managed to configure a workaround, please close