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. Image for the cookie policy date

On set culture datepicker and calendar disappear

they are two different pages and if in one I put "SetCulture" ,in the other the calendar and datepicker disappear as in the image
P.S. on back from the page where setCulture is set.



1 Reply

DL Deepa Loganathan Syncfusion Team February 1, 2019 10:56 AM UTC

Hi Tomasz, 

Thanks for contacting Syncfusion support. 

Based on the details provided in your update, we understood that you were facing issues while trying to globalize the EJ2 components to Spanish culture (es-ES) using setCulture method 

From the attached screenshot, we suspect that you have tried to load the CLDR data files for Spanish (es-ES). Our internationalization library uses CLDR data for formatting and parsing Dates, number objects and CLDR data does not support es-ES locale

Please check the below link to know about the packages available in CLDR. 


So, we suggest using language code es locale instead of es-ES to globalize the EJ2 components to Spanish culture.  

Also, please ensure that the CLDR data packages installed properly in your application and CLDR JSON data are loaded in your component. For your convenience, we have prepared a sample by globalizing the DatePicker and Calendar to Spanish culture. 

Please, find the sample from the following link. 


After, extracting sample run the below commands to launch the sample in the web browser. 

  • npm install
  • npm start
 
Please, let us know if you need any further assistance. 

Regards, 

Deepa L. 


Loader.
Live Chat Icon For mobile
Up arrow icon