I want to set the language setting of the calendar to Turkish. I would be very grateful if you can help me.
Hi,
By default, all locals are included in the fullcalendar bundle. You can check the gulp config tools/gulp.config.js
.
fullcalendar: {
src: {
styles: ["{$config.path.node_modules}/fullcalendar/main.min.css"],
scripts: [
"{$config.path.node_modules}/fullcalendar/main.js",
"{$config.path.node_modules}/fullcalendar/locales-all.min.js",
],
},
dist: {
styles: "{$config.dist}/plugins/custom/fullcalendar/fullcalendar.bundle.css",
scripts: "{$config.dist}/plugins/custom/fullcalendar/fullcalendar.bundle.js",
},
},
// Init calendar --- more info: https://fullcalendar.io/docs/initialize-globals
// Locale docs --- https://fullcalendar.io/docs/locale
const calendar = new FullCalendar.Calendar(calendarEl, {
locale: "tr"
};