Reputation: 1955
This is a DHTML Gregorian calendar widget. I'm trying to make an Hijri (Persian Calendar - Jalali) widget. Does anyone have any ideas?
Upvotes: 5
Views: 4176
Reputation: 696
you can use this hijri calendar that support all jquery versions. i use these for persian Calendar.
amib Calendar and hasheminezhad Calendar
Upvotes: 1
Reputation: 414
You want to change it for the Zimbra core or just to use it in a zimlet? If zimbra core, you need to be more familaiar with the structure of zimbra, its not just a file which needs to be translated but it has series of setting and few extra parts (look at the end of my comment for more tips!)
if you look at
http://files.zimbra.com/docs/zimlet/zcs/7.2.0/jsdocs/symbols/DwtCalendar.html
would notice that it doesn't have that much of relation with globalization
But if you want to have a zimlet that extends calender, you need to override calender view by overriding calender invoked functions in onShowMSG
It will need just a function to convert the calender to the persian one and mapping days
As you probably know the Persian calender conversation is just the matter of names and few mathematical calculation.
just add the calculations , set firstdayoftheweek and set names of days ....
you can find some usefull tips in Persian Calender implementation in Javascript
.
Some tips:
Upvotes: 1
Reputation: 775
Try this site, it contains JQuery calenders:
http://keith-wood.name/calendars.html
Note that this site contains a lot of calenders to choose from and one of them is the Persian calender.
Upvotes: 5