SfCalendar display as Thai number and character.

Hi there, 
I am using Syncfusion components for my trail project to propose to my prospects. Really appreciate the result.
Currently, I have problem with Calendar component (actually, also some other components like numerictextbox, and numeric format, etc.)
The problem is the component will shown as Thailand locale, which, I don't need. Since my prospects are international company, I really need to have all show as English.

I understand that this is because my system's locale is Thai, but the web apps show be in English. Please suggest me what or how can I config or set my application to correctly display such stuff. (By the way, I test this on Chrome, Edge, Firefox, etc. same result.)

Thank You.

Bunlue




Attachment: SF_bc8983e0.zip

3 Replies 1 reply marked as answer

PM Ponmani Murugaiyan Syncfusion Team December 20, 2020 08:39 AM UTC

Hi Loong, 

Thanks for contacting Syncfusion support. 

We would like to inform you that you can change the component culture in startup.cs file as like below code. We have prepared sample for your reference. 

For more information you can refer the below documentation link: 


[stratup.cs] 
 
// Define the list of cultures your app will support 
var supportedCultures = new List<CultureInfo>() 
{ 
  new CultureInfo("en-US"), 
  new CultureInfo("nl") 
}; 
// Set the default culture 
options.DefaultRequestCulture = new RequestCulture("en-US"); 


Kindly check with the above sample. Please get back us if you need further assistance. 

Regards, 
Ponmani M 


Marked as answer

LB Loong Bunlue December 25, 2020 06:15 AM UTC

Hi Ponmani M,
This is exactly what I want and it all works well. Thanks for your professional support.

Best Regards,
Bunlue.




PM Ponmani Murugaiyan Syncfusion Team December 28, 2020 05:47 AM UTC

Hi Loong, 

Thanks for the update. Please get back us if you need further assistance. 

Regards, 
Ponmani M 


Loader.
Up arrow icon