pragmaMx Support Forum

Archive => veraltete bzw. unsupportete Systeme und Module => Alt Archive => KalenderMx => Thema gestartet von: justus in 10 März 2005, 08:58:58

Titel: Dayview language
Beitrag von: justus in 10 März 2005, 08:58:58
Hi

I translate kalendar language to finnish (lang-finnish.php), but still in calendar dayview is date in english, example wednesday, january 12, 2005.
How i can change that to finnish too ??

Titel: Re: Dayview language
Beitrag von: jubilee in 10 März 2005, 09:22:58
Hmmmm .
Thought this is the _CALLOCALE-definition in the (module)lanuguagefile --->

if (PHP_OS=="WINNT"||PHP_OS=="WIN32") {

define("_CALLOCALE","[b]ge[/b]");   # lokale Einstellungen z.B. Datumsformat für Windows System!!

}

else {

define("_CALLOCALE","[b]de_DE[/b]"); # lokale Einstellungen z.B. Datumsformat für Linux/Unix

}


This should changed to the finnish value for the setlocale-Funktion
(not sure but this could look like this define("_CALLOCALE","fi"); and this define("_CALLOCALE","fi_FI");
Try it out.
greetings
jubilee
Titel: Re: Dayview language
Beitrag von: justus in 10 März 2005, 12:12:27
Yes thanx, i found that solutions a moment ago, i think i was blind or something...  :-[ it

Thank you for a very good calendar. If you need finnish language files i can sent that to you.
Titel: Re: Dayview language
Beitrag von: deepsleep in 10 März 2005, 12:21:47
Hello @All

Zitat(not sure but this could look like this define("_CALLOCALE","fi"); and this define("_CALLOCALE","fi_FI");

Also keep in mind that, if you are using FreeBSD as System, the Value for the date differ to linux.

define("_CALLOCALE","fi_FI.ISO-8859-1");

@Jubilee: Was meinst Du, sollte man die Variante für FreeBSD nicht in kommende Updates mit einbauen.

Brgds
Deepsleep
Titel: Re: Dayview language
Beitrag von: jubilee in 10 März 2005, 12:32:35
Hallo !
Zitat@Jubilee: Was meinst Du, sollte man die Variante für FreeBSD nicht in kommende Updates mit einbauen.
Könnte man sicher machen. Mal schaauen, ob Tora sich das hier gleich aabguckt für das nächste Release ;)

MfG
jubilee