Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #525411

    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.

    #525570

    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

    #525979

    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.

    #527612

    Hi!

    did you try a plugin like poedit or loco translate to achieve that?

    Regards,
    Andy

    #527863

    Yes of course, I always use Poedit. But terms doesn’t are in it…

    #528787

    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

    #532850

    It works ! Thanks !! :-)

    #533222

    Hi,

    Glad we could help :-)

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Enfold social icons title translation’ is closed to new replies.