The most recent snapshot of the event.module has not been working with the Drupal CVS of the last couple of weeks in conjunction with the i18n module. I have also tested this with Drupal CVS + Event.module 4.5.0 + snapshots of i18n of the last couple of weeks.
Problem: Events shows up on the list of nodes under Navigation Menu 'Settings | i18n'. I hook it off, which should mean that contents are translated. The result of a translation is that the calendar shows all languages. So if I insert an event scheduled to 15 March in Norwegian, and the same event for 15 March in English, both the Norwegian and the English text will show up in the box and in the calendar itself. The rest of the calendar is translated though, as per the localisation module.
I have been struggling with this for a couple of weeks now. I am not able to use an earlier version of Drupal, because it is not compatible with i18n, which I am dependant on. This is why i'm using the CVS. I am new to Drupal as well, and am not familiar with the code yet, therefore I am not able to figure out where this comes from or how to fix it.
i18n works fine with the other nodes I have installed.
Comments
Comment #1
Bèr Kessels commentedthis is most probably an issue with event itself.
You can do two things:
1) wait for the rewritten event to hit the contribs in a few weeks,
2) look for direct database queries in event and rewrite them slightly to use the node_db_rewrite_sql (http://drupaldocs.org/api/head/function/node_db_rewrite_sql) or saome other API;s
Bèr
Comment #2
chx commentedthe API to be used is not node_db_rewrite_sql but db_rewrite_sql, otherwise, Ber is right.
Comment #3
steffen commentedApparently this mode has now been made Drupal 4.6 ready. I just applied all the recent patches. The problem is still there. The module is not i18n compatible.
I didn't understand how to use the db_rewrite_sql thingy. Is there anything I can change in the code or will the whole thing need to be rewritten?
Comment #4
steffen commentedWorks now with patches :)
Comment #5
killes@www.drop.org commentedI am not going to be bothered by i18n problems. Ask the i18n people for instructions for patches.