Different languages for I like button
Asked Answered
O

2

6

How do I display the text of the I like button in a different language with HTML5 script?

Osuna answered 18/3, 2012 at 14:8 Comment(1)
possible duplicate of Facebook connect button language changeHalonna
A
8

When you initialize fb-jssdk

<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

change js.src url to your locale

Anson answered 18/3, 2012 at 14:15 Comment(0)
S
1

Go to http://developers.facebook.com/docs/reference/plugins/like/ and search for "How do I display the Like button in different languages?"

Saw answered 18/3, 2012 at 14:40 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.