Fork me on GitHub

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.
Current version is 2.1.11, released 12 June.

[solved]How To Translate "Like" button?

ntuyelikntuyelik New
edited April 2011 in Vanilla 2.0 Help
This discussion is related to the Liked addon.
I enabled Facebook like plugin but the button shows "like", so how can we translate that "like" text to whatever I want?

Comments

  • ntuyelikntuyelik New
    edited March 2011
    I enabled Facebook like plugin but the button shows "like", so how can we translate that "like" text to whatever I want?
    I just did it myself :) ;

    I added <script src="http://connect.facebook.net/tr_TR/all.js#xfbml=1"></script> just after the code in /plugins/Liked/class.liked.plugin.php

    <div style="float: right; margin-top: 12px; z-index: 999; position: relative">

    I used "tr_TR" for Turkish translation.You can use whatever you want like "es_ES" etc for your own language...

  • I enabled Facebook like plugin but the button shows "like", so how can we translate that "like" text to whatever I want?


    I just did it myself :) ;

    I added
    <script src="http://connect.facebook.net/tr_TR/all.js#xfbml=1"></script> just after the code in /plugins/Liked/class.liked.plugin.php

    <div style="float: right; margin-top: 12px; z-index: 999; position: relative">

    I used "tr_TR" for Turkish translation.You can use whatever you want like "es_ES" etc for your own language...

    everything was fine just for a couple of days...but my button is in English again :(
    Is it possible to add an option to this plugin to change language of button???
  • I solved the problem in the end by adding following code into my default.master.php file ;


    <META http-equiv=content-type content=text/html;charset=iso-8859-9>
    <META http-equiv=content-type content=text/html;charset=windows-1254>
    <META http-equiv=content-type content=text/html;charset=x-mac-turkish>
Sign In or Register to comment.