If you want to translate the calendar,
some code needs to be added after this:
if ($action = "findDate") {
$theDate = getdate(mktime(0,0,0,$mon,1,$year));
$month = $theDate["month"];
}
Add this:
//Hack im hack translation
switch($month) {
case "January":
$month2 = "Januar";
break;
case "February":
$month2 = "Februar";
break;
case "March":
$month2 = "März";
break;
case "May":
$month2 = "Mai";
break;
case "June":
$month2 = "Juni";
break;
case "July":
$month2 = "Juli";
break;
case "October":
$month2 = "Oktober";
break;
case "December":
$month2 = "Dezember";
break;
default:
$month2 = $month;
}
$month = $month2;
//Hack im hack ende
This is an example for German, you can change that after your needs for your language. Note that only Month names are changed in this example that are different in English than German.
Last edited by caymuc; 08/02/2002 8:44 PM.