FB Comments shortcode forces English localization
-
Hi there,
When using the commenting shortcode
[TheChamp-FB-Comments]it resets the FB sdk to default en_US english which is kind of annoying since it changes the language for the whole page, non considering the parameter set atwp-admin/admin.php?page=heateor-social-commentingpageThe shortcode generates following html code:
<div style="" id="the_champ_fb_commenting"><div class="fb-comments" data-href="https://www.myurl.com" data-numposts="" data-width="100%" ></div></div><script type="text/javascript" src="//connect.facebook.net/en_US/sdk.js "></script><script>FB.init({xfbml:1,version: "v2.8"});</script>For the moment, the only way i’ve found so far to come around this issue is to “supercharge” the script
[TheChamp-FB-Comments]<script type="text/javascript" src="//connect.facebook.net/fr_FR/sdk.js"></script></p>
Any better workaround? Any thought about adding a language setting within the sortcode or simply reusing the language set at wp-admin/admin.php?page=heateor-social-commenting page?
Thanks for your helpBR,
tomlaptop
The topic ‘FB Comments shortcode forces English localization’ is closed to new replies.