Tagged: , , ,

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

    Hi,

    I use the dutch translation of Kriesi.

    I would like to change the translation of “You might also like”. (text of up-sells)
    In the nl_NL.po file I found this line of text, changed it with Poedit and uploaded it to the theme folder of Kriesi in the folder: lang.
    Saving the nl_NL.po file to a new destination also gave me a new nl_NL.mo file, that I have uploaded aswell.

    Thing is that there is nothing changing on the website. The old text (U vindt misschien ook leuk) is still there.

    Any idea?

    Rogier

    • This topic was modified 10 years, 4 months ago by rogierkoning.
    #291656

    Hey rogierkoning!

    Can you try changing the string using this plugin and check if that helps – https://wordpress.org/plugins/codestyling-localization/ ?

    Cheers!
    Yigit

    #292117

    Nice, but like that I have to install an other plugin again. Can you tell me If I did the right changes, you know how youre theme is structured and if I changed the correct file.

    #292152

    Hey!

    You can change it manually by editing related-posts.php file inside Enfold/includes folder

    Best regards,
    Yigit

    #292154

    I’ll take a look.

    Can I upload the changed file directly to my child folder to preserve my change?

    Rogier

    #292155

    Hey Rogier!

    Yes you can. Please create a subfolder called “includes” and upload your file inside it

    Best regards,
    Yigit

    #292185

    Hi Yigit,

    I suppose I should change the following code in the related_posts.php

    I would like to have the text: Misschien ook leuk

    How do I change this. HTML is fine with me, php not.

    $output .= “<h5 class=’related_title’>”.__(‘You might also like’, ‘avia_framework’).”</h5>”;
    $output .= “<div class=’related_entries_container ‘>”;

    Rogier

    #292188

    Hi!

    Please change it to following

    $output .= “<h5 class='related_title'>”.__('Misschien ook leuk', 'avia_framework').”</h5>”;
    $output .= “<div class='related_entries_container '>”;

    Cheers!
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.