Adding new localization for schedule component not working

Hi,
I want to set new localization for schedule component like below: (according https://ej2.syncfusion.com/vue/documentation/schedule/localization/#localizing-the-static-scheduler-text)

  L10n.load({
    'fr-CH': {
        'schedule': {
            'day''journée',
            'week''La semaine',
            'workWeek''Semaine de travail',
            'month''Mois',
            'today''Aujourd`hui',
            'editEvent''Update Reservation france'
        }
    }
});

Next I set schedule props: locale: 'fr-CH'. After reloading page I could not open quick popup modal to create new reservation. have below error:

fs.js:3 TypeError: Cannot convert undefined or null to object
at Function.keys () at DateTimePicker.CalendarBase.getCultureValues (calendar.js?2f9d:275) at DateTimePicker.CalendarBase.createContentHeader (calendar.js?2f9d:308) at DateTimePicker.CalendarBase.createContent (calendar.js?2f9d:259) at DateTimePicker.Calendar.createContent (calendar.js?2f9d:1997) at DateTimePicker.CalendarBase.render (calendar.js?2f9d:155) at DateTimePicker.Calendar.render (calendar.js?2f9d:1905) at DateTimePicker.DatePicker.disabledDates (datepicker.js?0a06:1360) at DateTimePicker.DatePicker.updateInput (datepicker.js?0a06:196) at DateTimePicker.DatePicker.initialize (datepicker.js?0a06:142) 

Uncaught TypeError: Cannot read property 'quickPopupHide' of undefined at Agenda.agendaScrolling (agenda.js?e00a:210)


Why this error comes from DateTimePicker? I'm guessing that is related with DateTimePicker controls on 'More Info' pop up. ? , but I not sure.

I attached screen shot with all stack error.

Regards
Rafal

Attachment: Screenshot_20200422_at_11.27.25_1f940bb.zip

1 Reply

VM Vengatesh Maniraj Syncfusion Team April 23, 2020 07:32 AM UTC

Hi Rafal, 

Greetings from Syncfusion Support. 

We have checked your reported issue that “Script error throwing” at our end but unfortunately we could not replicate the issue. We have prepared the sample based on our UG documentation and in that sample, we can open the quick popup window to add the new events. You can download the sample from the below link. 


Kindly check the above sample and get back to us for further assistance.  

Regards, 
Vengatesh   


Loader.
Up arrow icon