Postponed (maintainer needs more info)
Project:
Leech
Version:
4.7.x-1.3
Component:
leech
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Jan 2007 at 15:50 UTC
Updated:
6 Jun 2007 at 15:49 UTC
Jump to comment: Most recent file
Comments
Comment #1
alex_b commentedfunana,
I got no experiences so far with localizer and leech. Did you happen to try leech with i18n as well?
The point where you can make leech.module pass on language settings from feed to feed item is in _leech_news_save_items() (line 2045 leech.module) .
Look how og and taxonomy inheritance was implemented (line 2078 and line 2178 and following)
Just follow the example and copy the language properties from feed to feed-item like taxonomy or group properties are copied.
I would highly appreciate a patch :) Language support is crucial. Be sure to check out the right branch of leech (DRUPAL-4-7) with
Comment #2
funana commentedThank you Alex, I will try this tomorrow and give you feedback!
Comment #3
funana commentedHi Alex,
I tried, but I'm just a simpleminded hacker, no developer and I fail with integrating this by simply copying the taxonomy style of passing and customizing it for leech. A friend of me will check it out later, but I would really appreciate your help in this!
If you need help with Localizer, Roberto will surely help you, he is very responsible and helpful.
Thank you.
Comment #4
Roberto Gerola commentedHi.
Just send a modified version of leech module to funana.
If it works as expected, I'll prepare the patch.
Roberto
Comment #5
aron novakCan you explain to me what is required from leech to work w/ localizer correctly? The problem is that the user now have to set the locale for each feed items manually, isn't it?
Roberto : you mentioned modified version of leech? What's the expected behaviour from leech that have to be achieved?
Thanks,
Aron
Comment #6
funana commentedYES! Bingo. No matter what you define for the feed, the items are not in the language of the feed.
It should just pass the language from Feed to Items. Nothing more.
I attached our last version of Leech module where we tried to implement localizer. I would really appreciate your help in that. Seems to be an easy fix, but somehow it doesnt work...
Thanks a lot!!!
Comment #7
alex_b commentedfunana, I won't be able to help you on that... I am simply too tied up here in other projects. I would totally appreciate a localizer patch for leech. Probably you can find sb. else to do that patch...
Alex
Comment #8
Roberto Gerola commentedI'll try to take another look at it.
I've downloaded the latest cvs version and see what I can do.
The first things that I see is that there are some SQL instructions that read
from node and leech tables that don't use any JOIN clause.
Is it correct ?
When try to apply its SQL rewriting code, the result SQL is incorrect due to the
lack of JOIN clause in the original SQL code.
Comment #9
alex_b commentedRoberto, correct, there is Selects across tables without using JOIN - against Drupal standards. This code is legacy from the original leech module I took over.
Comment #10
Roberto Gerola commentedCan I fix it ?
Comment #11
alex_b commentedOf course - that would be awesome.
Comment #12
funana commentedI love you guys :-)
Comment #13
hbfkf commentedWhat is the latest status of this issue? I think I have run into the same problem (Leech not using Drupal-proper MySQL statements). In my case this manifests itself like this:
This error occurs whenever I try to edit a news node created by Leech (clicking on the node's 'Edit' tab).
I have limited knowledge of Leech's internals but am willing to help resolving this issue. Has anybody of you already started working on it and could provide a patch as a starting point?
Kaspar
Comment #14
alex_b commentedI didn't move on this... to my knowledge no patches in regards to this topic went into leech so far.
Comment #15
funana commentedIs there still any hope for us? :-)
Hey Guys, any news on this topic?
Comment #16
alex_b commentedhi funana,
I don't plan to implement this - probably roberto does.
did you try to work around by creating a node template per language and set the language property in the node template php field?
Comment #17
funana commentedHmmm. Great idea, I never thought of that... I will try that! :-)
Comment #18
funana commentedAlex,
it was a very good idea and sounded very logical to me, but... it didnt work :-(
Greetings,
Funana
Comment #19
alex_b commentedCan you post the code that was supposed to set the language property?