title: Wordpress loading wrong language for Facebook SDK
body: <p>We are trying to embed Facebook posts into Wordpress using the URL of the post.  This works fine except for the language is wrong.  Instead of the language appearing in English, it is appearing in Arabic.</p>
  
  <p>I believe I have traced the problem to the Facebook SDK that is loaded by Wordpress.</p>
  
  <p>This is the code that Facebook says to add to the page</p>
  
  <pre><code>&lt;div id="fb-root"&gt;&lt;/div&gt;
  &lt;script&gt;(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/sdk.js#xfbml=1&amp;amp;version=v2.5";
    fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'facebook-jssdk'));&lt;/script&gt;
  </code></pre>
  
  <p>This is what Wordpress is loading</p>
  
  <pre><code>&lt;div id="fb-root"&gt;&lt;/div&gt;
  &lt;p&gt;&lt;script&gt;(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/ar_AR/sdk.js#xfbml=1&amp;version=v2.3";
      fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'facebook-jssdk'));&lt;/script&gt;
  </code></pre>
  
  <p>I believe that the issue is the "ar_AR" in the Facebook connection url instead of "en_US".  However, I cannot figure out how or where that is controlled.</p>
  
  <p>I checked the language selection in Wordpress and English is selected.  I tried a fresh Wordpress 4.7 installation with no plugins and the problem still persists.</p>
  
  <p>Here is an example post that comes up in Arabic on the website.  This is also what we are inserting into Wordpress to create the embedded post.</p>
  
  <p><a href="https://www.facebook.com/farahdhukai/videos/1217650958285047/" rel="nofollow noreferrer">https://www.facebook.com/farahdhukai/videos/1217650958285047/</a></p>
  
  <p>Here is where it is appearing in Arabic instead of English</p>
  
  <p><a href="http://mvs.dev.clickharder.net/facebook-sdk-test/" rel="nofollow noreferrer">http://mvs.dev.clickharder.net/facebook-sdk-test/</a></p>
  
  <p>The top embed is using the Wordpress embed feature by just adding the URL of the video.  The bottom embed is using the Facebook iframe embed method for testing purposes.</p>
  
  <p>I haven't figured out how to either disable the Facebook SDK within Wordpress so I can insert it myself or how to change it from ar_AR to en_US.</p>
  
  <p>I have searched through every reference to "Facebook" in a fresh Wordpress install and have come up empty handed.  I can't find a references for "ar_AR" within Wordpress that relates to this issue.</p>
  
  <p>We are trying to avoid using the iframe method of embedding posts.  It is not ideal for our situation so that is not a solution for us.</p>
  
  <p>Any help is much appreciated.</p>