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
close icon

app carahses when language set to arabic

i faced a new issue on the calander localization , the app crashes when i set the language to Arabic it works before i don know why it crashes now. the output is 
"
System.ArgumentOutOfRangeException: Not a valid calendar for the given culture. 
Parameter name: value".  
and my code is
 calendar.Locale = new CultureInfo("AR");
 calendar.FlowDirection = FlowDirection.RightToLeft;



1 Reply

SP Subburaj Pandian Veluchamy Syncfusion Team July 26, 2019 07:24 AM UTC

Hi Daniel, 
  
Thank you for the update. 
  
Based on the provided information, we have checked the mentioned issue “Application crashes when set the Arabic Locale in Calendar" and we unable to replicate the issue from our side. We have attached the sample for your reference. Please find the sample from following link. 
  
  
Tested Scenario
·       Locale as “AR” (Arabic) 
·       Enabled RTL mode 
·       Syncfusion update version 17.2.0.34 
  
Tested devices: 
·       MI A1 device (Android) 
·        iPhone XS Max-iOS-12.1 (iOS) 
·       Windows machine (UWP) 
  
Please check the sample and let us know if you still facing the same issue? If not, please modify the sample based on your scenario and revert us with the more details, it will be helpful for us to check on it and provide you the solution at the earliest.  

Regards,
Subburaj Pandian V    


Loader.
Live Chat Icon For mobile
Up arrow icon