Daterangepicker's Globalization doesn't work

I have a problem with the "daterangerpicker". I followed the method as indicated in the documentation, but I have an error in my console when I press the button to display the calendar.


 I see that my translation is taken into account but the calendar refuses to open.







1 Reply 1 reply marked as answer

SN Sevvandhi Nagulan Syncfusion Team June 4, 2020 07:51 AM UTC

Hi wissem, 
 
 
Greetings from Syncfusion support. 
 
The reported issue will be occurred, when the CLDR-data for the corresponding culture not loaded in the application. So, please ensure that whether the culture file for corresponding culture is correctly loaded in your application. Also, ensure that whether you referred the cldr data from the node_modules correctly. We have prepared a demo sample with the "fr" culture, and we suggest modifying the Json import statement as mentioned below. 
 
 
loadCldr( 
  require("cldr-data/main/fr/numbers.json"), 
  require("cldr-data/main/fr/ca-gregorian.json"), 
  require("cldr-data/supplemental/numberingSystems.json"), 
  require("cldr-data/main/fr/timeZoneNames.json"), 
); 
 
 
 
 
 

 
Regards, 
Sevvandhi N 


Marked as answer
Loader.
Up arrow icon