Im Modul (mod_extcalendar_latest.php) habe ich in Zeile 262 folgendes gefunden:
PHP-Code:
##-------------------First, set the proper locale if parameter says to:
if ( $EXTCAL_CONFIG['use_extcal_locale_settings'] ) {
// Mambo already has a locale set in Site Configuration. If the locale code from the ExtCal language files
// is NOT used, it just sticks with the one already set.
$extcal_language_path = $mosConfig_absolute_path . "/components/com_extcalendar/languages/";
if (!file_exists($extcal_language_path."{$mosConfig_lang}/index.php")) $mosConfig_lang = 'germani';
include $extcal_language_path."{$mosConfig_lang}/index.php";
if ( isset($lang_info['locale']) && is_array($lang_info['locale']) ) {
foreach( $lang_info['locale'] as $temp_lang_code ) {
$locale_was_set = setlocale (LC_TIME,$temp_lang_code);
}
}
}
##-------------------Second, define an important constant if not defined already:
if ( !defined('EXTCAL_TEXT_ALL_DAY') ) {
if ( isset($lang_add_event_view) ) {
define('EXTCAL_TEXT_ALL_DAY',$lang_add_event_view['all_day_label']);
} else {
$extcal_language_path = $mosConfig_absolute_path . "/components/com_extcalendar/languages/";
if (!file_exists($extcal_language_path."{$mosConfig_lang}/index.php")) $mosConfig_lang = 'germani';
require_once $extcal_language_path."{$mosConfig_lang}/index.php";
define('EXTCAL_TEXT_ALL_DAY',$lang_add_event_view['all_day_label']);
}
}
Dort habe ich bei beiden Möglichkeiten "germani" eingetragen!
Die index.php der Komponente sieht so aus:
PHP-Code:
// Datum formats, For reference, go to : http://www.php.net/manual/en/function.strftime.php
$lang_date_format = array (
'full_date' => '%A, %d. %B %Y' // e.g. Mittwoch, Juni 05, 2002
,'full_date_time_24hour' => '%A, %B %d, %Y um %H:%M' // e.g. Mittwoch, Juni 05, 2002 um 21:05
,'full_date_time_12hour' => '%A, %B %d, %Y um %I:%M %p' // e.g. Mittwoch, Juni 05, 2002 um 9:05 pm
,'day_month_year' => '%d-%b-%Y' // e.g 10-Sep-2004
,'local_date' => '%c' // Preferred date and time representation for current language
,'mini_date' => '%a. %d %b, %Y'
,'month_year' => '%B %Y'
,'day_of_week' => array('Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag')
,'months' => array('Januar','Februar','März','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember')
);
Lesezeichen