Base solution for your next web application
Open Closed

Arabic locale #6378


User avatar
0
sago created

Hi

Switching to Arabic changes Dates to to Hijri format. I want them in Gregorian.

Can I switch to Arabic translation while keeping Dates, Numbers and Currency in English or some other locale ?

Thanks


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @sago,

    You can do it as explained in this issue https://support.aspnetzero.com/QA/Questions/4547

  • User Avatar
    0
    sago created

    Hi, when i tried to change culture at appserviceBase using this line

    Thread.CurrentThread.CurrentUICulture.DateTimeFormat = new CultureInfo("en-US").DateTimeFormat;

    It raised System.InvalidOperationException: 'Instance is read-only.'

  • User Avatar
    0
    sago created

    thank you , i have solved the problem