• Recently we created plugin for facebook likes collection https://www.ads-software.com/plugins/smart-facebook-page-like-overlay/

    It uses FB embed code and some people reported issue with the text inside the overlay not displayed in english (or do not correspond to the installation language).. I tried to capture this error on different installs, but it’s always English (correct language) for me, very wired.

    We use this code (get_locale()) to detect and render your WP install language:
    js.src = "//connect.facebook.net/<?php echo get_locale(); ?>/sdk.js#xfbml=1&version=v2.5";

    Is there a better and more reliable way to detect current locale str en_EN? Any suggestions?

    Could you guys try to install and activate this plugin on your installs and check if language in the overlay ( actual FB like button and text next to it ) is displayed in the language of your installation and you can actually read it.

    I would REALLY appreciate your help guys!

  • The topic ‘potential locale issue’ is closed to new replies.