syncfusion / ej2-react-ui-components

Syncfusion React UI components library offer more than 50+ cross-browser, responsive, and lightweight react UI controls for building modern web applications.
https://www.syncfusion.com/react-ui-components
Other
349 stars 103 forks source link

Wrong ISO culture format for the schedulder #150

Open jeremyb35 opened 1 month ago

jeremyb35 commented 1 month ago

Locale to be used are those of ISO 639-1 and ISO 3166-1 alpha-2 (like fr-CH, en-GB, en-US. etc...).

Except for French, it just need the language name without the country code: fr instead of fr-FR. With fr-FR it return the following error : Cannot read properties of undefined (reading 'trim')

VengateshManiraj commented 2 weeks ago

Hi @jeremyb35,

The Scheduler has processed the culture code using the CLDR data. However, the fr-FR culture code is not included in the CLDR data package. As a result, the Scheduler generates an error when attempting to use the fr-FR culture code.