Support » Plugin: Simple Share Buttons Adder » Facebook js.src lowding en_EN

  • Resolved hypnoscribe

    (@hypnoscribe)


    Th plugin is great, im loving it. However, im having trouble with an element. It is loading the Facebook SDK for JavaScript. This is fine i guess for someone that does not know you need it. But my site in in french and because of this pre-load, all my facebook integrations stay in English.

    i need this line :

    js.src = “//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.6”;

    to say:
    js.src = “//connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.6”;

    Is there any way to change the language of the SDK?

    Or maybe a way to remove it? Since my site already loads it?

    Thank you for any information

    • This topic was modified 3 months ago by  hypnoscribe.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Simple Share

    (@davidoffneal)

    Hey @hypnoscribe. Thanks for reaching out regarding this. I will personally make sure a new “facebook language” option is added to the configuration panel in our newest update. I’ll add a dropdown with SDK languages and you can select “French” to make the change. I’ll keep you posted when the newest update is available. Most likely by end of week. Thanks again!

    hypnoscribe

    (@hypnoscribe)

    Oh wow, that is great news!

    Was hoping i did not have to hunt down an other. Yours is great!

    Thank you! 🙂

    And a great day to you!

    Plugin Author Simple Share

    (@davidoffneal)

    @hypnoscribe Hey hope all is well. Being that out plugin does not have any need to load the FB SDK in different languages I went ahead and added an “ignore” option to the “advanced” accordion in the button config section. Whether you’re using the Classic or Modern you can turn the option on to remove the plugin’s FB SDK. Let me know how it works for you!

    Oh wow!

    That did the trick! Thank you for taking the time to do this for me! I<m guessing not to many ppl needed this feature!

    Again, thank you!

    Will leave an awsome review!

    I am afraid it created a notice problem:

    Notice: Undefined index: ignore_facebook_sdk in halabalacafe.cz/wp-content/plugins/simple-share-buttons-adder/php/class-styles.php on line 112

    A default value should be assigned I believe

    Plugin Author Simple Share

    (@davidoffneal)

    Glad it helped and thanks for the review @hypnoscribe!

    @mmatej I responded to your ticket I’m sorry for this missing index error. Follow my directions in the ticket and respond there. Thanks so much!

    saving the options did the trick, thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.