Support » Plugins and Hacks » GetSocial » [Plugin: GetSocial] Changing language

[Plugin: GetSocial] Changing language

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Riyaz


    Facebook takes the default page language. So if your page is in another language, it should automatically show up in that language.

    first of all thanks for your very nice plugin.

    but unfortunately it doesn’t. my wp is in turkish, and I tested in turkish language browsers, but like button was still in english.

    I found a solution though. I edited getsocial.php and added “locale=tr_TR&…” like this:

    .’&locale=tr_TR&…;send=false&layout=box_count&width=’. $bar_width .’&show_faces=false&action=like&colorscheme=light&font&height=62″ scrolling=”no” frameborder=”0″ style=”border:none; overflow:hidden; width:’. $bar_width .’px; height:62px;” allowTransparency=”true”></iframe>’

    Congratulations for this plugin.

    To localize the Facebook like button for every language, the patch is to do this modification in getsocial.php line 735:
    .' js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";'
    .' js.src = "//connect.facebook.net/' . WPLANG . '/all.js#xfbml=1";'

    Can you include it in the next release ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: GetSocial] Changing language’ is closed to new replies.
Skip to toolbar