ab4d7cb1
andryeyev
Page + Языковая в...
|
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
'urlManager' => [
'enablePrettyUrl' => true,
'showScriptName' => false,
'class'=> 'common\components\LangUrlManager',
'rules'=>[
'/' => 'site/index',
'<controller:\w+>/<action:\w+>/*'=>'<controller>/<action>',
]
],
'request' => [
'class' => 'common\components\LangRequest'
],
'i18n' => [
'translations' => [
'*' => [
'class' => 'yii\i18n\PhpMessageSource',
|
ab4d7cb1
andryeyev
Page + Языковая в...
|
25
26
27
28
29
30
31
|
'fileMap' => [
'app' => 'app.php',
'app/error' => 'error.php',
],
],
],
],
|