Title: Facebook script inserted causing issues with language
Last modified: November 1, 2017

---

# Facebook script inserted causing issues with language

 *  Resolved [gadev](https://wordpress.org/support/users/gadev/)
 * (@gadev)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/facebook-script-inserted-causing-issues/)
 * I have a site that is supposed to have a Facebook feed in french but since simple
   share button adder is inserting the script in the header it’s overwriting the
   language for the script that is being added for the feed (currently being added
   in a text widget)
 * It’s not an issue that the script is inserted but it’s an issue that I found 
   the script source is hardcoded with /en_US/ in the ssba plugin.
 * Before there was an add action to add the get_ssba_style() function so I remove
   the action which fixed the problem (We were styling what was required ourselves).
   But since the update that add action was removed.
 * Would it be possible to have a the Facebook API have a language select or have
   the option to not output the API js in the header?
 * Thanks,
    -  This topic was modified 8 years, 7 months ago by [gadev](https://wordpress.org/support/users/gadev/).

Viewing 1 replies (of 1 total)

 *  [metamorpher](https://wordpress.org/support/users/metamorpher/)
 * (@metamorpher)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/facebook-script-inserted-causing-issues/#post-9649349)
 * I came to the forum to do the same observation. Maybe adding a lang field on 
   the settings of the plugin will help.
 * I’m using the Facebook SDK to allow users login with their FB credentials, and
   this plugin calling the SDK in english re-translates the login button.
 * Thanks in advance guys.

Viewing 1 replies (of 1 total)

The topic ‘Facebook script inserted causing issues with language’ is closed to new
replies.

 * ![](https://ps.w.org/simple-share-buttons-adder/assets/icon-256x256.png?rev=2661516)
 * [Simple Share Buttons Adder](https://wordpress.org/plugins/simple-share-buttons-adder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-share-buttons-adder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-share-buttons-adder/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-share-buttons-adder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-share-buttons-adder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-share-buttons-adder/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [metamorpher](https://wordpress.org/support/users/metamorpher/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/facebook-script-inserted-causing-issues/#post-9649349)
 * Status: resolved