timgno attempted to add some localization variables.
these definitions in calendar.php is good for Gregorian calendar but for persian needs it is not suitable.
I think it would be great if the core team read js files totally from the language folder like this:
timgo did a nice work for implement this here
http://xoops.svn.sourceforge.net/viewvc/xoops/XoopsCore/tags/2.6%20timgno/htdocs/class/xoopsform/?pathrev=9738
timgno attempted to add some localization variables.
these definitions in calendar.php is good for Gregorian calendar but for persian needs it is not suitable.
I think it would be great if the core team read js files totally from the language folder like this:
$GLOBALS['xoTheme']->addScript(XOOPS_ROOT_PATH . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/date/ui.datepicker.js');
the above code is awkward.
in this way we can add local calendars.
discuss here:
http://xoops.org/modules/newbb/viewtopic.php?topic_id=75249