Changing language of facebook Like button doesnt work

I've added the Facebook Like button to this site in wordpress:

However, the like button is still in english, even though it is the danish language code I added to the header:

<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); = id;
  js.src = "//";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

Any help appriciated


I viewed your blog source code to check if you added the like using iframe or <div class="fb-like">, My predictions were right, you added the like-button using iframe without adding/sending the parameter locale=da_DK to your iframe src

Basically you have two solutions

  1. Stick with the iframe method and add locale=da_DK as below

    <iframe src="//;width&amp;layout=box_count&amp;action=like&amp;show_faces=false&amp;share=false&amp;height=65&locale=da_DK" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:65px;" allowTransparency="true"></iframe>

    Notice the last parameter, In this case you won't need the Facebook-JS

  2. Replace iframe with <div class="fb-like">:

     <div class="fb-like" data-href="" data-layout="standard" data-action="like" data-show-faces="true" data-share="true"></div>

    Here you will need the Facebook-JS

Need Your Help

Angular ngStorage Custom Objects

javascript angularjs ionic ng-storage

I am using ngStorage to store data. I made a custom objects called game and stored it. Its stored as a game but when i refresh the browser it comes back as an Object.

How to apply a distortion filter for the UIImage?

iphone image image-processing

I need to apply distortion image effect for uiimage? I dont know where i can get a complete algorithm or examples? Please help me out