OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



OJS Plugin: Jalali calendar support

The Plugin Gallery is a venue for users of PKP software to share their plugins.

Moderators: jmacgreg, michael, John

Forum rules
If you post a plugin here, please include information on which versions of which applications it is compatible with. Attach a tarball of the plugin (e.g. tar cvzf myPlugin-0.1.tar.gz plugins/generic/myPlugin). Thanks for contributing!

OJS Plugin: Jalali calendar support

Postby asmecher » Wed Sep 10, 2008 9:14 am

This plugin adds support for the Jalali calendar (aka the Persian calendar). Dates presented in various parts of the system will be automatically converted from Gregorian to Jalali. (This does not include date input fields.)

This is a site-wide plugin, meaning that it will affect all journals within an installation of OJS.

To use the plugin, extract the attached archive into plugins/generic. Then, using an account that has both Site Administrator and Journal Manager roles, go to the Journal Manager's "System Plugins" list, find the Jalali plugin, and enable it. The plugin is configured by default to present Jalali dates only when using the Farsi (fa_IR) locale.

Author: Mahmoud Saghaei and Alec Smecher
Software: OJS
Versions: 2.2.1+
Attachments
jalali.tar.gz
Jalali plugin version 0.1
(4.83 KiB) Downloaded 799 times
asmecher
 
Posts: 8860
Joined: Wed Aug 10, 2005 12:56 pm

Re: OJS Plugin: Jalali calendar support

Postby legofish » Mon Sep 27, 2010 2:28 pm

Hey,

First of all, thanks so much for creating this plugin, it works beautifully for me, except in one case.
Right now, the plugin seems to ignore the 'year' attribute of an issue.

For example, if I create a new issue, and select year, volume, and number for issue identification, and give them the values 2008, 14, 1, when I go to the 'Archives' in the fa_IR locale I see '2008' listed as the year, and not its Jalali equivalent which should be 1387.

So, while the plugin works well when dealing with the 'publish date' attribute, it doesn't seem to work for the 'year', and since 'year' is what is used to display journals in the 'Archives' page (or so it seems), I'm running into a bit of a problem.

Is there any possibility for a fix, or a workaround?

Thanks in advance.
legofish
 
Posts: 13
Joined: Mon Sep 27, 2010 2:18 pm


Return to Plugin Gallery

Who is online

Users browsing this forum: No registered users and 1 guest