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

On set culture datepicker and calendar disappear

Thread ID:

Created:

Updated:

Platform:

Replies:

142401 Jan 31,2019 01:42 PM UTC Feb 1,2019 10:56 AM UTC Angular - EJ 2 1
loading
Tags: DatePicker
Tomasz
Asked On January 31, 2019 01:47 PM UTC

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.



Deepa Loganathan [Syncfusion]
Replied On 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. 


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