We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Angular 7+ - Scheduler - Problem with Globalization

Thread ID:

Created:

Updated:

Platform:

Replies:

147684 Sep 19,2019 03:26 PM UTC Sep 24,2019 10:48 AM UTC Angular - EJ 2 3
loading
Tags: Schedule
Damian Riquart
Asked On September 19, 2019 03:26 PM UTC

Hello,

I have a problem with the globalization on scheduler (in French). 

I followed the documentation here : https://ej2.syncfusion.com/angular/documentation/schedule/localization/ but I can't get it to work.
I have attached the configuration of the globalization and the browser result. Also, I have no errors on the browser console.

Do you have any solution to this problem?

Also, is it possible to have the rowautoheight functionality without removing the auto-resize height of the scheduler ? (check screen "rowautoheight")

Thank you in advance for your feedback,
Damian Riquart
Quality CDM

Attachment: angular_scheduler_img_14fec671.zip

Karthigeyan Krishnamurthi [Syncfusion]
Replied On September 23, 2019 09:06 AM UTC

Hi RIQUART 
 
Syncfusion greetings. 
 
In your image, fr is used instead of fr-FR which could be the cause. We have checked the below Angular 8 sample in fr-FR culture and Schedule is rendering correctly. Kindly try the sample and if the issue persists, try to reproduce the error in a sample and revert else share your code example/runnable sample (if possible) to serve you better. 
 
It is the default behavior for auto row height feature. We have consider your requirement as feature and logged the below portal task. It will be implemented in any one of our upcoming main release. 
 
Regards, 
Karthi 
 


Damian Riquart
Replied On September 23, 2019 01:57 PM UTC

Thank you for your answer.

I tried to adapt my code with the example provided. This time I have the following error:

vendor.js:81347 ERROR TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at Calendar.getCultureValues (vendor.js:344491)
    at Calendar.createContentHeader (vendor.js:344523)
    at Calendar.createContent (vendor.js:344475)
    at Calendar.createContent (vendor.js:346209)
    at Calendar.render (vendor.js:344371)
    at Calendar.render (vendor.js:346114)
    at Calendar.appendTo (vendor.js:340278)
    at HeaderRenderer.renderHeaderPopup (vendor.js:316847)
    at HeaderRenderer.toolbarClickHandler (vendor.js:316869)

I have attached the code of the component. 

Thank you in advance for your feedback,
Damian Riquart
Quality CDM

Attachment: component_example_543696b7.zip

Karthigeyan Krishnamurthi [Syncfusion]
Replied On September 24, 2019 10:48 AM UTC

 
Thanks for the update. 
 
We suspect that file location is not correct which could be the cause. Kindly try like below at your end and for the same, sample is prepared. 
 
loadCldr(
require('cldr-data/supplemental/numberingSystems.json'),
require('cldr-data/main/fr-CH/ca-gregorian.json'),
require('cldr-data/main/fr-CH/numbers.json'),
require('cldr-data/main/fr-CH/timeZoneNames.json'));
 
 
Regards, 
Karthi 
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon