HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

[solved]How To Translate "Like" button?

This discussion is related to the Liked addon.
ntuyelikntuyelik New
edited April 2011 in Vanilla 2.0 - 2.8
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.