Answer the question
In order to leave comments, you need to log in
Why is the translation looking in /messages/en/app.php?
Added to components
'i18n' => [
'translations' => [
'*' => [
'class' => 'yii\i18n\DbMessageSource',
'sourceLanguage' => 'en_US',
],
],
],
The message file for category 'app' does not exist: C:\xampp\htdocs\localhost/messages/ru/app.php
Answer the question
In order to leave comments, you need to log in
It had to be like this
'i18n' => [
'translations' => [
'app' => [
'class' => 'yii\i18n\DbMessageSource',
'sourceLanguage' => 'en_US',
],
],
],
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question