qTranslate and timely all-in-one-calendar locale fix
On one of my customers WordPress sites I use the All-in-One Event Calendar by Timely Version 1.9.5–standard in combination with qTranslate Version 2.5.34 and WordPress 3.5.1
Problem: on the Agenda display of events the „Read more“ button does not apply the qTranslate language prefix url/de/ai1ec_event to the link. (de for german content)
I tried lots of „hacks“ to the agenda.php but the real fix was easy: Just edit the calendars theme file in /wp-content/themes-ai1ec/vortex/functions.php and add this line to it:
add_filter('post_type_link', 'qtrans_convertURL');
This will do it.