Hie Koha users,

I'm opening a mail on the translation of JavaScript Calendar used in both OPAC and Intranet.
(JSCalendar, unknown version but < 1.0).

The bug 2307 refers to this  :
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2307

I think it's can be a great improvement for users.
(We French use a wery different date format).

How can we propose translation ?
  1. In PO files like proposed in bug patch
  2. With the language files found in JSCalendar project and put them all in lib/calendar folder.

In my opinion, PO files is not necessary.
Because :
In second case :
In Templates, use :
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar-<!-- TMPL_VAR name="lang" -->.js"></script>

In this case, we just have to rename lang files : calendar-fr.js -> calendar-fr-FR.js, calendar-fr-CA.js ...

You'll find a test patch I used for French lang.

PS :
I add to correct a bug on "first day of week" (Calendar._FD) preference to have it work.

Regards,

Happy Christmas.

--
Fridolyn SOMERS
ICT engineer
PROGILONE - Lyon - France
fridolyn.somers@gmail.com