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
Hey rogierkoning!
Can you try changing the string using this plugin and check if that helps – https://wordpress.org/plugins/codestyling-localization/ ?
Cheers!
Yigit
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.
Hey!
You can change it manually by editing related-posts.php file inside Enfold/includes folder
Best regards,
Yigit
I’ll take a look.
Can I upload the changed file directly to my child folder to preserve my change?
Rogier
Hey Rogier!
Yes you can. Please create a subfolder called “includes” and upload your file inside it
Best regards,
Yigit
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