Are you prepared to do the astonishing amount of programming necessary to accommodate the idiosyncrasies of the leap day and changing seasons of the jalali calendar? This calendar, unlike the Persian calendar, can not be applied with sophistocated, but manageable mathematical algorithms over an extended time frame and its quite difficult to calculate the Julian date equivalent.
If you are ready to do so, it may be possible to include these calculations into the calendar functionality and make jalali an option.
Please advise. -Stephen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can look for places where the Hijri calendar is mentioned, and just add the parallel code for the Jalali version. You might need to provide some interface logic to convert between the PGV date conventions and those required by the above package. The technical term for this interface logic is "shim".
I hate to do this: You should consider contacting the programming team for Webtrees. You new calendar will probably find a wider audience and better support there. The team might even consider doing the work for you, if you can build a strong enough case. It seems to me that if you're going to implement the Persian calendar, you should also start work on the Persian language (Farsi).
I haven't looked at Webtrees; for personal reasons I'm sticking with PhpGedView for the time being.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You'd be best to visit the webtrees site and read the introduction, discussion, FAQs and forum posts to decide this for yourself. As a fork of this program (PGV), it is inappropriate to evangelize the program within this forum. I do believe you'll find prompt help to any questions you may pose there. -Stephen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
im gonna add a new date, (jalali) but i dont know where to put its codes to get the full functional work …
thanks ;)
Are you prepared to do the astonishing amount of programming necessary to accommodate the idiosyncrasies of the leap day and changing seasons of the jalali calendar? This calendar, unlike the Persian calendar, can not be applied with sophistocated, but manageable mathematical algorithms over an extended time frame and its quite difficult to calculate the Julian date equivalent.
If you are ready to do so, it may be possible to include these calculations into the calendar functionality and make jalali an option.
Please advise.
-Stephen
Most of the work appears to have been done already:
http://www.phpclasses.org/package/4457-PHP-Compute-Jalali-calendar-dates.html
You can look for places where the Hijri calendar is mentioned, and just add the parallel code for the Jalali version. You might need to provide some interface logic to convert between the PGV date conventions and those required by the above package. The technical term for this interface logic is "shim".
I hate to do this: You should consider contacting the programming team for Webtrees. You new calendar will probably find a wider audience and better support there. The team might even consider doing the work for you, if you can build a strong enough case. It seems to me that if you're going to implement the Persian calendar, you should also start work on the Persian language (Farsi).
I haven't looked at Webtrees; for personal reasons I'm sticking with PhpGedView for the time being.
ive started working on the translation,
so as u said i just have to add the codes into the places where hijri code is written ?! right ?!
by the way, is there any better features in WEBTREE ?!
i dont need all the stuff here in PHPGEDVIEW … is there any simplicity ?
You'd be best to visit the webtrees site and read the introduction, discussion, FAQs and forum posts to decide this for yourself. As a fork of this program (PGV), it is inappropriate to evangelize the program within this forum. I do believe you'll find prompt help to any questions you may pose there.
-Stephen