Tagged: social icons, translation
Hi there,
Your theme is beautiful and helpful, but I have one question :
how can I do to translate terms like “Facebook”, “Rss” or “Mail” like per example “Write us”, “Subscibe to our blog”, etc…, in social icons ?
I can’t find it…
You can look at my screenshot : http://www.tapama.info/screenshot.jpg
Thanks a lot !! :-)
Alexandre.
Hi alexionoff!
You can find that on line 83 in the /enfold/includes/helper-social-media.php file.
$html .= "<a {$blank} href='".$icon['social_icon_link']."' ".av_icon_string($icon['social_icon'])." title='".ucfirst($icon['social_icon'])."'><span class='avia_hidden_link_text'>".ucfirst($icon['social_icon'])."</span></a>";
If you just want to get rid of it then you can change it to this.
$html .= "<a {$blank} href='".$icon['social_icon_link']."' ".av_icon_string($icon['social_icon'])."></a>";
Cheers!
Elliott
Thanks for the tip.
It works indeed to get rid of title, but I dont’ want to delete title, simply change terms for each icon. Is it possible ?
Thanks.
Hi!
did you try a plugin like poedit or loco translate to achieve that?
Regards,
Andy
Yes of course, I always use Poedit. But terms doesn’t are in it…
Hi!
What are you trying to change them to? I suppose you could switch the variable to “$temp” and then add this somewhere above the line.
$temp = '';
if ($icon['social_icon'] == 'twitter') { $temp = 'something else'; }
if ($icon['social_icon'] == 'facebook') { $temp = 'something else'; }
Cheers!
Elliott
It works ! Thanks !! :-)