Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SinaBina opened this issue Jun 17, 2023 · 4 comments
Open

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

SinaBina opened this issue Jun 17, 2023 · 4 comments

Comments

@SinaBina
Copy link

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

@JosephMDavis
Copy link
Member

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
Copy link
Author

SinaBina commented Jun 19, 2023

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
Copy link
Member

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
Copy link
Author

SinaBina commented Aug 9, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants