Hi,
Thank you for opening a topic. The previous version uses an iFrame that automatically detects the language. In the new version this is not possible since Facebook upgraded their API. The language used to initiliaze the API first is used (also if multiple plugins load the api).
Thread Starter
fredel
(@fredel)
hey there, thanks! is there a way to change this / the way how it is initialized…? thanks
Hi,
If you enable the performance mode, you can manually add
<script type="text/javascript" src="//connect.facebook.net/de_DE/all.js#xfbml=1
"></script>
to head.php or header.php of your theme.
Or get the asynchronous snippet from Facebook.com, but this snippet should ensure that all Facebook plugins get initiliazed in the German language.
Hello,
I have below code at my header and it was showing likes as TR.
js.src = “//connect.facebook.net/tr_TR/sdk.js#xfbml=1&version=v2.5&appId=…
But after activating your plugin, now all like boxes show as English.
how can I solve it?
Regards
Hi,
If the API is loaded (correctly) by another plugin you can solve this problem by selecting ‘Don’t load Facebook API’ under performance on the first tab. This will make sure that this plugin doesn’t load the API. This will result in
- The configuration of that plugin (e.g) language used
- Better performance
Best Regards,
Friso
Thanks for your reply.
But when I select ‘Don’t load Facebook API’, it does not show the popup.
Regards
I see an Application ID is specified in the code your posted (
js.src = "//connect.facebook.net/tr_TR/sdk.js#xfbml=1&version=v2.5&appId=...
)
Can you check if that AppID on Facebook.com has the Site platform and the domain set to your website. To check out how to do this, please look at
http://arevico.com/creating-a-facebook-application/
Hello,
I have FB API for my this site and it is public.
I have two other facebook like box at my site and I added facebook JavaScript SDK code which includes;
js.src = “//connect.facebook.net/tr_TR/sdk.js#xfbml=1&version=v2.5&appId=…
and, I inserted the other code ( created here: https://developers.facebook.com/docs/plugins/page-plugin ) to footer to show like box there.
If I can select ‘Don’t load Facebook API’, it does not show the popup.
to show popup, I have to select ” Load FAcebook API Synchronous” only.
I can’t find any solution.
Regards