I would start with an apology if this is not the right place for this issue of mine. However, I do not have any clue to where it should be posted and I never saw similar issue in the forums.

I work for a multilingual site WGN Media, which is available in English and Hebrew. I used this module to add a Facebook "Like" button on every portfolio page, example: http://wgnmedia.com/en/portfolio/buy-soft. If you press the Hebrew language in top-right, that would bring you to it's Hebrew translation (of course they are separate nodes).

The module works perfectly after some CSS but not too soon I found something strange: when I press "Like", say, the node above (in English), the link url that gets posted in my Facebook profile doesn't have the /en prefix, resulting to wrong thumbnail and details shown in Facebook profile and wrong page direction.

The same is true with /he. To sum up, multilingual prefix is being ignored. Anyone who could tell me how to deal with it?

Thanks!

Comments

jerdiggity’s picture

Assigned: Unassigned » jerdiggity

Will add support to next release (just released 7.x version with language support).

Thanks!

jayjaydluffy’s picture

great, thanks! will look forward for this..

jerdiggity’s picture

Status: Active » Fixed

Language support added to latest stable release, although the actual prefix (in the URL) was not added to the code only because that would result in an inaccurate number of "Likes" (unless I'm mistaken). Example:

  • User 1 visits http://www.example.com/node/1 and clicks "Like"
  • User 2 visits http://www.example.com/node/1 and also clicks "Like"
    • Total likes for node/1: 2
    • Total likes for he/node/1: 0
  • User 3 visits http://www.example.com/he/node/1 and clicks "Like"
    • Total likes for node/1: 2
    • Total likes for he/node/1: 1
  • Total likes for node/1's content should be 3, but Facebook doesn't know that the two URLs are one and the same, resulting in an inaccurate tally of "Likes".

Like I said, feel free to correct me if I'm mistaken... Either way though, the language support is now available through the administrative interface (you'll see it at the bottom).

:)

jeremy

Status: Fixed » Closed (fixed)

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

jayjaydluffy’s picture

Status: Closed (fixed) » Active

sorry, for late reply.

i installed the module and added "he" as Language. it works great when the current user's language is set to Hebrew:

  • correct link (though stripped with "he", but fine since HE is default language)
  • correct thumbnail
  • correct teaser
  • English translation automatically "Like"-d

but for English's case, it's horrible:

  • correct URL link (while stripped with "en", the system can't locate the referred page)
  • wrong thumbnail
  • wrong teaser
  • Hebrew translation automatically NOT "Like"-d

i wish it works well either way. thanks for the effort but will follow through to get this fixed.

gvso’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

We are not fixing this issue as Drupal 6 has reached end of life