Loading...
 
Features / Usability

Features / Usability


Re: Calendar questions

posts: 1092


> Can I change the calendar so the weeks start with Monday and not Sunday?
Currently this choice is based on the language.
So if you use the language es, you need to have in the file
lang/es/language.php
"First day of week: Sunday (its ID is 0) - translators you need to localize this string!" => "Primer día de la semana: Lunes (su ID es 1) - traductores necesitan localizar esta cadena!",


> And in any case... I see the JS Calendar has internationalization. Am I better off using that, you think?
JScalendar internalization has not be been done for each language. Look at lib/jscalendar/lang/calendar-fr-utf8.js for an example. You have to create an utf8 file from the lib/jscalendar/lang/calendar-xx-utf8.js, update the file tiki-jscalendar.php
I just done it for the Spanish
http://cvs.sourceforge.net/viewcvs.py/tikiwiki/tiki/tiki-jscalendar.php
http://cvs.sourceforge.net/viewcvs.py/tikiwiki/_jscalendar/lang/calendar-es-utf8.js

sylvie