Calendar Modul_Language

If you've problems with unsupported - non official ;-) - functionalities use this forum please.
Post Reply
petsta
Posts: 8
Joined: Thu 20. Jan 2005, 15:58
Location: Burglauer/Germany

Calendar Modul_Language

Post by petsta »

Hello,

working on my page I tried out the CalendarModul fron 'ionrock'. Everthing
works and also looks fine but i can't find a way to get the month in German-
only English language. Does anybody have some idea? Anybody else working with 'ionrock's' CalendarModul?

Thanx

Peter
Peter Stark
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

I know there will be released a new version of it.


See more here: http://www.phpwcms.de/forum/viewtopic.php?p=31454#31454

maybe you can wait until it done....?
http://www.studmed.dk Portal for doctors and medical students in Denmark
missberli
Posts: 26
Joined: Sat 13. Nov 2004, 14:55

Post by missberli »

Hi petsta,

I simply have changed the english month names to numbers 1-12:

Search in calendar.classes.php for:

Code: Select all

$monthname = date("F Y", mktime(0,0,0, $month, 1, $year));
and

Code: Select all

$monthname = date("F Y", strtotime("$month/15/$year"));
and change the F to m.


There must be a way to change local settings with setlocale, but I don't know PHP :(

missberli
ionrock
Posts: 279
Joined: Fri 20. Feb 2004, 17:04

Post by ionrock »

We are working on making the changes. You will be able to customize things a bit more and have multiple language packs.
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

ionrock wrote:We are working on making the changes. You will be able to customize things a bit more and have multiple language packs.
Now Im looking even more forward to it :D
http://www.studmed.dk Portal for doctors and medical students in Denmark
petsta
Posts: 8
Joined: Thu 20. Jan 2005, 15:58
Location: Burglauer/Germany

Post by petsta »

Thank you folks. Everything sounds good. I'll first try the 'month-numbers'
idea from missberli that I didn't have :oops: and wait for the new version.

Peter
Peter Stark
Seppe
Posts: 3
Joined: Mon 14. Feb 2005, 08:36

Thanks

Post by Seppe »

thanks for your answers.
with the option that you change the language i can wait. :D
Post Reply