A
A
Alexander Ivanov2015-04-29 20:09:59
Yii
Alexander Ivanov, 2015-04-29 20:09:59

How to change home to home in Yii2?

There are several solutions for Yii on the internet, but the same solution for Yii2 is not.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman Frank, 2015-04-29
@cimonlebedev

If you are talking about breadcrumbs, then like this:

<?= Breadcrumbs::widget([
        'homeLink' => ['label' => 'Главная', 'url' => '/'],
        'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
]) ?>

Y
Yuri Skasyrsky, 2016-09-10
@armagedon008

You need to specify the Russian language in the application config
$config = [
'language' => 'ru-RU', // application language
....
];

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question