irmtfan - 2012-08-09

timgo did a nice work for implement this here

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: