fullcalendar language

Hello!

I want to know how I can read de fullcalendar in spanish. I see this in fullcalendar doc:

but i dont know how apply this in servoy 8

Thanks

Hi, the fullcalendar already has built in translation for the Spanish language.

Simply set the language to be used in the options object to be used for the rendering of the calendar

/** @type {svy-fullcalendar.FullCalendarOptions} */
var options = {
        eventSources: [ {events: [{ title: "lunch event", start: new Date() }]}],
	selectable: true,
	editable: true,
	defaultView: 'agendaWeek',
	showCurrentTimeline: true
}

// you can see in code completion which fullcalendar options are supported
options.lang = 'es';

var calendar = elements.fullcalendarElementName.fullCalendar(options);

You can add fullcalendar configurations into the options object

If you need more information about the fullcalendar component check the wiki page.

https://github.com/Servoy/fullcalendarcomponent/wiki

Regards,
Paolo

Its working!

thanks you very much!

You are welcome !