Hi, I have another module called Localizer. It provides me 2 languages ability in my blog. But your module called Similar By Terms ain't filter the nodes according to my blog language setting.

I will have both English language and Malay language whenever I click on any of my node. So the similar nodes were mixed up.

Is it possible for you to fix this? Thanks!

My blog: http://indiecom.net

p/s: Drupal, Drupal, Drupal, Drupal Druuuuuuuuuupal (Haha I like your song!)

CommentFileSizeAuthor
#3 similarterms.diff1.93 KBdennys
#2 __.jpg592.92 KBhanief84

Comments

jjeff’s picture

I'm not sure I understand this problem. What exactly is happening?

The node titles are in the wrong language? They link to nodes in the wrong language?

More information please.

Thanks..

hanief84’s picture

StatusFileSize
new592.92 KB

Please refer to the attachment. Thank You.

The right behaviour
Your "similar terms block" should show only the nodes that were posted in the language that I'm using. So I wonder whether you can figure out something, so that the "similar terms block" will filter and view the nodes according to the language that I'm using.

You can also look at my http://indiecom.net/archive . You may see that the Archive only view the nodes according the language that I'm using. Just click the language switcher in Select Language block, so that you can see the different between both languages.

dennys’s picture

Component: Miscellaneous » Code
Status: Active » Needs review
StatusFileSize
new1.93 KB

I wrote a patch for i18n integration, if only show the node with the same language or without language.

dennys’s picture

Title: Localizer not supported » i18n module not supported

This patch is for i18n module, not localizer

marcoBauli’s picture

Title: i18n module not supported » Similar by Terms module compatibility

dennys: i've posted your patch to the i18n queue here.

The issue still applies to Localizer (changing title)

marcoBauli’s picture

Title: Similar by Terms module compatibility » Localizer module compatibility

ups, some confusion with modules names in title.. :P

dennys’s picture

Title: Localizer module compatibility » i18n module compatibility

@marcoBauli:

This patch is for Similar By Terms, not for i18n module. I'm not sure why put this patch in i18n issues ?
And I changed the title because this is for i18n compatibility, not for Localizer.

marcoBauli’s picture

Title: i18n module compatibility » Localizer module compatibility

oops, dennys you are right, this patch is for Similar By Terms, i'll never move issues between queues again if it's later than 1am, promise.

anyway, as the original description says, this issue is about Similar by Terms and Localizer modules, not i18n. Please consider opening a separate issue for Similar by Terms and i18n to avoid confusion.

dennys’s picture

I created a new issue 193042 for i18n module compatibility to avoid confusion. Please keep discuss Localizer compatibility in this issue and discuss i18n compatibility in 193042.

rmiddle’s picture

Status: Needs review » Needs work

Code is now out of date. Needs to be update.

rmiddle’s picture

Status: Needs work » Fixed

I am going to mark fixed since no one has responded regarding the patch in over a month.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.