-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken backwards-compability since 0.3 #44
Comments
In the last version also I have this error! |
Could you show your configuration please? |
'settings' => [
'class' => 'pheme\settings\Module',
'sourceLanguage' => 'fa-IR',
'accessRoles' => ['Settings']
], And for components: 'settings' => [
'class' => 'pheme\settings\components\Settings'
], |
Does your custom model and form reside in a controller outside the module directory? If so then the module never has a chance to register the translations. The solution to this problem is to inherit from the |
I have found solution, working for me.
|
I don't use module, just component
Since you've added translations in 0.3, I get an error "Unable to locate message source for category 'extensions/yii2-settings/settings" while validating Setting model
It happens because module is never initialized, but Module::t is called
The text was updated successfully, but these errors were encountered: