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

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting