I want to translate a blog button which says “Read more” in my own language. After making a lot of changes the text still doesn’t change. We use Fusion Builder to build up the blog. Does anybody know what is going wrong? I’ll explain here:
After downloading the po & mo files for the Avada theme, Fusion Builder and Fusion Core on Github
I have put them in the following directories: Avada: wp-content/languages/themes (not the child-theme, but the original)
I put it also in wp-content/themes/Avada/languages, but this is the wrong path. Fusion Builder: wp-content/plugins/fusion-builder/languages
I put it also in wp-content/plugins/fusion-builder/languages but this is the wrong path. Fusion Core: wp-content/languages/plugins
I put it also in wp-content/plugins/fusion-core/languages but this is the wrong path.
In the directories there’s already a pot file. So you have 3 different files.
In the root there’s a file called wp_config.php
I’ve added a rule define (‘WPLANG’, ‘nl_NL’). The filenames also end with nl_NL.ext (po or mo)
This should work, but there’s a workaround:
Add code to the file functions.php (public_html/wp_includes)
This code can be found on codex.wordpress.org
"Modify The Read More Link Text"
function modify_read_more_link() {
return ‘Your Read More Link Text’;
}
add_filter( ‘the_content_more_link’, ‘modify_read_more_link’ );
Still I don’t know if the last one customizes the editor in the cms if you add a <-- more text -->
Welcome to the forums! Have you checked Avada theme documentation? Translation process may already be described there. In case of further questions consider contacting theme support:
Yes, I have checked Avada Theme Documentation. Followed every step, but it makes no difference.
I have installed a plugin Gettext override translations with the correct override text and it worked.
I’m not sure if you already found a solution, but if you did, I’m still going to answer this, because a lot of people might stumble upon this.
In my case, “Read more” was not present in my language PO file. Adding it DID NOT HELP. After I did, the text underneath a blogpost would still say “Read more”. I discovered you have to compile the PO file to a MO file. This can be done with numerous online tools like https://po2mo.net/.
After uploading the MO file to the right directory, the text should now say “Read More” in your own language. In my case “Lees meer” (Dutch). Notice the type the OP made in his list of paths, the right path for Fusion Builder is the same as Fusion Core and should be wp-content/languages/plugins.
Po and mo file I changed in wp-content/languages folder.
Maybe I not understand this part “Notice the type the OP made in his list of paths, the right path for Fusion Builder is the same as Fusion Core and should be wp-content/languages/plugins”.
Hi Elpakk, thanks to answer me. Can you tell me how to translate avada files, please?
I have an issue at this url https://consulentesicurezzaalimentare.it/blog/
I can’t translate “read more”, “by”, “8th”, “categories” and “comments” at the bottom of the post. Other pages are well translated
Hola, lo que a mi me ayudó a resolverlo fue instalar Loco Translate y traducir el plugin Fusion Builder. Antes había intentado traducir la frase Read More desde el template y no funcionó, pero cuando lo hice desde el plugin sí.
Espero haber ayudado!
Had the same problem. Had all of the .po and .mo file updated and still the Blog section ‘Read More’ was overridden!
The PROBLEM I found is that the ‘Read More’ text was still pointing to the wrong .po/.mo file.
The SOLUTION that works for me is:
Go to file under: /plugins/fusion-builder/shortcodes/fusion-blog.php
Find the function called: “public function read_more()” – line 1707 for me
Change the line that reads: esc_attr__( ‘Read More’, ‘fusion-builder’ ) ); change it to:
esc_attr__( ‘Read More’, ‘Avada’ ) );
Whoala! now the ‘Read More’ text gets translated from the Avada.mo file.