Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #15407

    Hello,

    in the portfolio post there is a facebook like image. I would like ti replace this image to translate it in french.

    How can I do?

    Thanks

    hmjmc

    #87375

    Hey!

    Try following – open up includes/helper-social-media.php and replace:

    $param['href']		= 'http://www.facebook.com/sharer/sharer.php?';

    with:

    $param['href']		= 'http://www.facebook.com/sharer/sharer.php?locale=fr_FR&';

    Best regards,

    Peter

    #87376

    Hello Peter,

    thank you for your response but it changes nothing, I already have the english icon ‘Like’

    Another idea?

    hmjmc

    #87377

    I forwarded this question to Kriesi. I’m not sure if the used facebook api (sharer.php) supports localized text strings. I asked Kriesi to look into it – maybe he knows a solution or he’ll switch to the new “like.php” methode.

    #87378

    Thank you Dude,

    I will wait and see if Kriesi found a solution for me !

    #87379

    Hi hmjmc,

    I’ve tagged the topic for Kriesi so its in his queue :)

    Regards,

    Devin

    #87380

    Hi, have found a solution to resolve this?

    hmjmc

    #87381

    Hey hmjmc,

    As far as I know Kriesi has not started going through things on here yet. He usually gets to them in one big 3-4 day period but I can’t say for sure when that will be.

    Regards,

    Devin

    #87382

    OK Devin, I will wait!

    #87383

    Appreciate it! I’ll check in with Kriesi via email and see if I can get an ETA :)

    Regards,

    Devin

    #87384

    Hey!

    The only suggestion I could find is to change the url of the connect API that facebook uses:

    open in folfer js/avia-social.js and in line 24 modify the language string:


    js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";

    excahnge en_US with fr_FR and it shoul ddisplay the like button in french. Worked on my test server ;)


    js.src = "//connect.facebook.net/fr_FR/all.js#xfbml=1";

    Cheers!

    #87385

    Thank you Kriesi, its works !!

    hmjmc

    #87386

    Hey,

    Glad it is fixed. :)

    Regards,

    Ismael

Viewing 13 posts - 1 through 13 (of 13 total)

The topic ‘replace facebook like image’ is closed to new replies.