Open paskuale75 opened 5 years ago
are there any errors for the missing lang file in the console, might be helpful how you are setting the $language
in code .
here the code:
echo Calendar::widget([
'language' => 'it',
'options' => [
// HTML attributes for the container.
// the `tag` option is specially handled as the HTML tag name
'id' => 'calendar'
],
'clientOptions' => [
// JS Options to be passed to the `calendar()` plugin.
// see http://bootstrap-year-calendar.com/#Documentation/Options
'dataSource' => Url::to(['//mensa/default/calendario-load-events']),
],
'clientEvents' => [
// JS Events for the `calendar()` plugin.
// see http://bootstrap-year-calendar.com/#Documentation/Events
'clickDay'=> $scriptClickDay
]
]);
Verify that the file exists /bootstrap-year-calendar.it.js
In /vendor folder no, it does not exist !!
I try to set language in the widget ... but nothing happens, why ? thanks