25
Quote:
For me it works fine on WAMP for the Month and Week. I have problems with Agenda Week. It seems like there is lack of consistency on how the weekdays are being created/fetched, but I could be wrong.
I have a German copy of XOOPS 2.5.6 so I'll test on it and get back to you.
I did some more tests, and on my WAMP it works perfectly, incl. switching languages with xLanguage module.
the locale settings for me are:
English:
setlocale(LC_ALL, 'en_US');
German:
setlocale(LC_ALL, 'de_DE');
One thing that you have to make sure is that you have the correct translation in extCal. For example, in /extcal/language/german/main.php I have:
define('_MD_EXTCAL_DAY_MONDAY',"Montag");
define('_MD_EXTCAL_DAY_TUESDAY',"Dienstag");
define('_MD_EXTCAL_DAY_WEDNESDAY',"Mittwoch");
define('_MD_EXTCAL_DAY_THURSDAY',"Donnerstag");
define('_MD_EXTCAL_DAY_FRIDAY',"Freitag");
define('_MD_EXTCAL_DAY_SATURDAY',"Samstag");
define('_MD_EXTCAL_DAY_SUNDAY',"Sonntag");
The "locale.php" takes care of the the:
view_calendar-month.php
and the above translation takes care of
view_agenda-week.php
I am uploading now to my Linux server to test it over there, but I assume, it will be the same.
[EDIT] I just tested it on my Linux server and everything works exactly the same as here, i.e. no problems with languages.
On both installations I have PHP 5.4.17 and XOOPS 2.5.6
English:
German: