Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

event_calendar: Upcoming Events on Startpage


14 Posts   1888 Views


9 May 2010 at 6:38am Community Member, 65 Posts

Thank you for the explanation, that makes really sense although I'd also like to link the recent images to the gallery where they are in (not showing a popup on the startpage). Event Calendar now works for me, the only problem I have is the German localization because wether the month names nor the headings of the filterform are translated. Do you have an idea where to look for those problems?


9 May 2010 at 7:04am 4085 Posts

There was a small bug with the localisation that I fixed about a month ago. Do you know when you last updated your code?


9 May 2010 at 7:18am Community Member, 65 Posts

I think May 6. It should be revision 105 or 106 (via svn).


9 May 2010 at 7:40am 4085 Posts

Is everything else translated? The month names are generated using the PHP function strftime(), so if your PHP locale is not set to de_DE, then you probably wont' see the translations.


24 May 2010 at 5:33am Community Member, 65 Posts

Okay, so now there are only a few strings that are not translated such aus "End" on the filter form or "show month" within the livecalendar_widget. Is it possible that they are not in the de_DE file?


26 May 2010 at 10:33pm Community Member, 65 Posts

So now I got nearly everything working by adding a custom where I changed the text with language option:

<optgroup label="<% _t('QUICKLINKS','Quick Links') %>" />
             <option value="$QuickMonthLink">This month</option>
             <option value="$QuickWeekLink">This week</option>
             <option value="$QuickWeekendLink">This weekend</option>

<optgroup label="<% _t('QUICKLINKS','Quick Links') %>" />
             <option value="$QuickMonthLink"><% _t('THISMONTH','This month') %></option>
             <option value="$QuickWeekLink"><% _t('THISWEEK','This week') %></option>
             <option value="$QuickWeekendLink"><% _t('THISWEEKEND','This weekend') %></option>

I also added translations to my de_DE.php at /mysite/lang:
$lang['de_DE']['']['JUMPTOMONTH'] = 'Direkt zu...';
$lang['de_DE']['']['QUICKLINKS'] = 'Schnellzugriff';
$lang['de_DE']['']['THISMONTH'] = 'Aktueller Monat';
$lang['de_DE']['']['THISWEEK'] = 'Aktuelle Woche';
$lang['de_DE']['']['THISWEEKEND'] = 'Aktuelles Wochenende';
$lang['de_DE']['']['SHOWMONTH'] = 'Monat anzeigen';

At the end, I was also unable to find the Start and End text of the $CalendarFilterForm, "CalendarFilterFieldSet.START/END" ?