Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #29141

    Please, suggest, where do I find these lines for translation?



    Have you tried going to Catalog > Update from sources in Poedit and see if new strings will be added?




    Yes, I did, but this string doesn’t appear there. I did find this line in some folder before but after update translation is dismissed and I cannot find where it can be changed.

    Also some of the lines that are translated “Logged in as… Log out?” “Post comment” that are translate in the .po file still appear in English on the webpage.


    Please use Codestyling: to translat the plugin.

    Install the plugin, go to Tools > Localization and select “Themes”. Then search for “Enfold” in the list and click on “Add new language”. Then select your language from the list and click the “create po-file” button. Click on “Rescan” to fetch all text strings. Then click on “Edit” and translate the required strings from the “avia_framework” textdomain. At least click the “create mo file” button next to the “Textdomain” selection dropdown (top left corner). If you still can’t find the text strings in the generated po file you can use the title filter to change the text. Add following code at the bottom of functions.php

    add_filter('avf_title_args', 'fix_single_post_title', 10, 2);
    function fix_single_post_title($args,$id)
    if ( $args['title'] == 'Blog - Latest News' )
    $args['title'] = 'MY TEXT';

    return $args;

    and instead of MY TEXT insert your translation.

    The other text strings you mentioned ( “Logged in as… Log out?” “Post comment” , etc.) are not part of the theme code and you can’t translate them with the theme po/mo files. You maybe need to update the translation of wordpress ( ) or a plugin adds these text strings to the website – then you must translate the plugin.


    Thank You, Dude and Yigit.

    Everything solved. I don’t use codestyling plugin because it indicated error (at least with previous version of Enfold), but translate .po file directly. Added code to function.php and translated extra lines in wordpress .po file.

    Just in case somebody will use this query to solve his issues as I usually do. Searching forum provides answers to most questions I have. Great job, guys!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Translate "Blog – Latest News"’ is closed to new replies.