Friday, August 06, 2010

How to keep the Facebook like button's language

After announcing Facebook Like button added to webeno.blogspot.com in my earlier post, I realized that the button changes language according to the country of stay of the person visiting my blog. This can cause problems (ie. cannot see the count of likes after the button) and as I write my blog in English and the word "like" is pretty much known by the blog readers' community, I decided to keep it in English. The official documentation of Facebook's Like button does mention this, however it seems (at least to date) that the explanation is not very precise or specific to Bloggers, so let me show you what you need to do exactly:

Using the iframe version of the button, this is how the code will look like:
(click in the box to highlight the code for copy)

Now to add the the language option, you simply have to insert the code snippet "&locale=en_US" (for English) somewhere after the facebook like button link, so the code would look like this:
(click in the box to highlight the code for copy)

6 comments:

  1. Thanks man! I looked everywere for this info!!!

    ReplyDelete
  2. @Anton5900: Glad I could help! ;)

    ReplyDelete
  3. Thanks! I've been searching for this from 2 weeks

    ReplyDelete
  4. You are more than welcome, alus1onZ, happy it helped! ;)

    ReplyDelete
  5. thanks my problem resolved

    ReplyDelete

Dear legitimate commenters, please post your comments below. I'd be happy to receive your feedback; helps me a lot improving, or getting reassurance that I'm doing something really great here.

IMPORTANT! A note to commenters planning on advertising their business in comments: please be informed that I'm NOT going to post your comments but will ALWAYS mark them as SPAM.