Answer the question
In order to leave comments, you need to log in
How to change the language of FullCalendar and Yii2?
Hello everyone, besides this, I don’t know how to make it so that when you click on the time, a window appears with this time. C solved the issue, the rest with a click on the time in days.
<?= \yii2fullcalendar\yii2fullcalendar::widget(array(
'events'=> $events,
'header' => [
'center'=>'',
'left'=>'title',
'right'=>' prev,month,agendaWeek,agendaDay,next'
],
'clientOptions' => [
'eventLimitClick'=>new \yii\web\JsExpression('function (cellInfo, jsEvent) { showEvents(cellInfo.date, cellInfo.segs); }')
],
));
?>
Answer the question
In order to leave comments, you need to log in
How to change the language of FullCalendar and Yii2?
<?= yii2fullcalendar\yii2fullcalendar::widget([
'options' => [
'lang' => 'ru', // тут указываем нужный язык
]
]);
?>
Hello everyone, in addition to this, I don’t know how to make it so that when you click on the time, a
window appears with this time
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question