Support » Plugin: Facebook » [Plugin: Facebook] How do I change language setting

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor Matt Kelly (Facebook)


    kyamamu, can you be more specific? Do you mean that you want to change it for users? Or admins?


    It’s for admins.

    When I activate this plugin, It automatically installs the following script code setting “en_US”.
    <script type=’text/javascript’ src=’’></script>

    That’s why all of facebook plugins display in English.

    I want them to display in Japanese, so need to change en_US to ja_JP,
    But there is not language setting form.

    Matt, I think he meant to change the language of the pluging.

    Example snippet of this one like a Code of:

    <div id=”fb-root”></div>
    <script>(function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
    js = d.createElement(s); = id;
    js.src = “//″;
    fjs.parentNode.insertBefore(js, fjs);
    }(document, ‘script’, ‘facebook-jssdk’));</script>
    <div class=”fb-like” data-href=”” data-send=”true” data-width=”450″ data-show-faces=”false” data-font=”arial”></div>


    That’s right, I meant so.
    I want to change the language of the plugin.

    Thank you for your help!

    I did so:

    go to the plugin folder and edit the file:


    Localize the words:

    $ locale = ‘en_US’;

    and switch to the ‘ja_JP

    Make tests and tell me if succeeded.

    You have access to the plugin folder?

    It works!

    I really appreciate it, Thank you so much!

    Anything now I have the problem:

    how do I remove the plugin page I do not want?

    In other plugins have this option, I wonder if in future versions our requests will be answered about it.

    Bad until the next version comes what can I do to remove the plugin pages that I do not want to appear?

    Do you know how to solve this?

    sorry, I don’t know, but I want to know it too.
    Anyway, I think you’ better to open another thread about it on forums.

    And back to the language problem.
    I think originally this plugin has been supposed to work on any language.
    So this language problem is one of the bug and will be fixed on next version.

    Certainly my friend


    I did not find fb-core.php in plugin directory .
    I want to set Kurdish as default language streame .


    version 1.4

    I found the setting in plugins/facebook.php line 47:

    public $locale = ‘en_US’;

    but still it would show everything in spanish..

    in the Database I found in table wp_options I found option_name _transient_facebook_locale set to es_ES – however..

    change this to your choice – worked for me.

    AAnd – just found out: if you completely delete it, the setting in the facebook.php takes over again.. don’t know how this was saved there in the first place.


    usually I think the viewers language should change the buttons language – we use WPML – so if the language is changed – the buttons could change.

    if logged in to facebook the language of the like buttons might change to whatever the actual person browsing your page uses as language in facebook.

    I could not confirm, that this happens though.

    but anyway..

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Plugin: Facebook] How do I change language setting’ is closed to new replies.