Commit 26181d22598c3d2c27d3e027ae4ac8e3c7c490b2
Merge remote-tracking branch 'origin/master'
Showing
1 changed file
with
12 additions
and
0 deletions
Show diff stats
frontend/config/main.php
@@ -172,6 +172,18 @@ | @@ -172,6 +172,18 @@ | ||
172 | 'errorHandler' => [ | 172 | 'errorHandler' => [ |
173 | 'errorAction' => 'site/error', | 173 | 'errorAction' => 'site/error', |
174 | ], | 174 | ], |
175 | + 'i18n' => [ | ||
176 | + 'translations' => [ | ||
177 | + 'core' => [ | ||
178 | + 'class' => 'yii\i18n\PhpMessageSource', | ||
179 | + 'basePath' => '@common/messages', | ||
180 | + ], | ||
181 | + 'app' => [ | ||
182 | + 'class' => 'yii\i18n\PhpMessageSource', | ||
183 | + 'basePath' => '@common/messages', | ||
184 | + ], | ||
185 | + ], | ||
186 | + ], | ||
175 | 'urlManager' => [ | 187 | 'urlManager' => [ |
176 | 'class' => UrlManager::className(), | 188 | 'class' => UrlManager::className(), |
177 | 'baseUrl' => '/', | 189 | 'baseUrl' => '/', |