Fork me on GitHub

Local calendar support in zikula  Bottom

  • People around the world use different calendars. ( http://en.wikipedia.org/wiki/List_of_calendars )
    When we speak about localization, it's so important to consider local calendar with translation.

    In GHCMS project ( http://ghcms.svn.sourceforge.net/viewvc/ghcms/trunk/ghcms1.1/ ) we use zikula, and add persian calendar full support for persian language (and Gregorian for english language) to zikula for the first time.
    It's can be so great if zikula add calendar support to the project, it's simple. the solution is improve DateUtil and use it in the project, for example in a few Smarty plugins use date directly! it's must change to DateUtil::date...

    Because we just need persian calendar and it's important to improve zikula with the least changes in the core, we use "if condition" solution in needed methods for the first time.

    But (I think) the clean solution is using abstraction for DateUtil and fix the date usage in zikula. (I'll develop it ASAP)

    ps: Now we work on zikulair for persian localization of zikula. ( http://zikulair.svn.sourceforge.net/viewvc/zikulair/trunk/ )
  • There have been several changes to DateUtil in the 1.2 branch http://code.zikula.o…evelopment/zikula-1 and work on localization is underway. If you post your questions to the developer list it might be a good place for more in depth discussion and we can discuss more about this with Bernd who is leading localization with gettext.

    Please post at http://groups.google…/zikula-discussions

    Drak

    --
    Zikula Lead Developer
    Board Member of the Zikula Foundation
    Follow me on twitter.com/zikuladrak
  • in TimeIt is used wrapper for dates very nicelly. first is calls getDateTime from zikula and then 'translates' dates.
    you can see it as TimeiT::getDateTime in action.
    using this approach in zikula core w'd be very nice. This'd :
    1.save coding time for module developers
    2.there are and probably remain zikula 1.1.X sites and this will be very usefull

This list is based on users active over the last 60 minutes.