I have a complete calendar and when I change the language to Portuguese, it returns me this error. Uncaught TypeError: Can not read property 'defineLocale' of undefined
$('#calendar').fullCalendar({
header: {
left: 'prev,next today',
right: 'month,agendaWeek'
},
defaultView: 'month',
viewRender: function (view) {
var title = view.title;
$(".taskElementCalendar").html(title);
}
});
$(".taskElementPrev").click(function () {
$("#calendar").fullCalendar('prev');
});
$(".taskElementNext").click(function () {
$("#calendar").fullCalendar('next');
});
$(".taskElementToday").click(function () {
$("#calendar").fullCalendar('today');
})