i7MEDIA / mojoportal

mojoPortal is an extensible, cross database, mobile friendly, web content management system (CMS) and web application framework written in C# ASP.NET.
https://www.mojoportal.com
Other
199 stars 98 forks source link

Date-picker does not support Persian (Shamsi) calendar in 2.9 #212

Open SinaBina opened 1 year ago

SinaBina commented 1 year ago

Looks like the new date-picker does not support Persian (Shamsi) calendar in 2.9 if the culture is set to fa-IR

JosephMDavis commented 1 year ago

Hi @SinaBina,

The new date picker is AirDatepicker and it provides an easy localization method.

If you take a look the existing locales here, you'll see how to create your own. We're happy to include your localization in the next release.

SinaBina commented 1 year ago

Hi Joe, The issue is not simply related to translation as Shamsi/Jalali calendar is completely different from Georgian calendar.You may take a look here. which probably means it is not going to happen any time soon I remember Joe Audette spent many time to bring full Persian support to Mojo. I think dropping such feature from Mojoportal will simply ruin the show for many non-English users including me.

So can it be replaced by the old one or maybe use two datepickers for English and Persian (And maybe some other calendars for Arabic ,Hebrew etc.)?

Thanks

JosephMDavis commented 1 year ago

We'll work on making sure there is a calendar which works for you. For the most part, you should be able to switch back to the old calendar but there will be a few places, primarily in Event Calendar Pro, that need to use features available in AirDatepicker.

SinaBina commented 1 year ago

Thank you. There are couple of fine Persian Datepickers out there which can be used in Mojo. I suggest using website culture to automatically switch to proper Datepicker/Calendar.