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
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
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
Hello Peter,
thank you for your response but it changes nothing, I already have the english icon 'Like'
Another idea?
hmjmc
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.
Thank you Dude,
I will wait and see if Kriesi found a solution for me !
Hi hmjmc,
I've tagged the topic for Kriesi so its in his queue :)
Regards,
Devin
Hi, have found a solution to resolve this?
hmjmc
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
OK Devin, I will wait!
Appreciate it! I'll check in with Kriesi via email and see if I can get an ETA :)
Regards,
Devin
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!
Thank you Kriesi, its works !!
hmjmc
Hey,
Glad it is fixed. :)
Regards,
Ismael
This topic has been closed to new replies.