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?
Try following – open up includes/helper-social-media.php and replace:
$param['href'] = 'http://www.facebook.com/sharer/sharer.php?';
$param['href'] = 'http://www.facebook.com/sharer/sharer.php?locale=fr_FR&';
thank you for your response but it changes nothing, I already have the english icon ‘Like’
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.
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.
Appreciate it! I’ll check in with Kriesi via email and see if I can get an ETA :)
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";
The topic ‘replace facebook like image’ is closed to new replies.