Also, if I’m in bbPress forum, also the user bbpress login widget is in english (http://www.ffximobile.es/foro/) but in other pages on my site, it is correctly in spanish (http://www.ffximobile.es/)
I suspect the file is corrupt, so not interpreted.
I’d go back to the original, and then come back for help in changing individual phrases
Ok, I found the problem. I read in this website to create a bbpress folder inside content languages and enter the translated files inside it. I have removed it and now is again in spanish.
So, which file should I change? Should I just change \wp-content\languages\plugins\bbpress-es_ES.po ?
yes, try that, and let us know
I changed this in \wp-content\languages\plugins\bbpress-es_ES.po:
msgid “Posts”
msgstr “Publicaciones”
To this:
msgid “Posts”
msgstr “Mensajes”
I cleared cache from WP and cleared Chrome cache, but I still see “Publicaciones” here:
http://www.ffximobile.es/foro/
Try this :
Put this in your child theme’s function file – or use
Code Snippets
/This function changes the text wherever it is quoted
function change_translate_text( $translated_text ) {
if ( $translated_text == 'Publicaciones' ) {
$translated_text = 'Mensajes';
}
return $translated_text;
}
add_filter( 'gettext', 'change_translate_text', 20 );
If that doesn’t work try
/This function changes the text wherever it is quoted
function change_translate_text( $translated_text ) {
if ( $translated_text == 'Posts' ) {
$translated_text = 'Mensajes';
}
return $translated_text;
}
add_filter( 'gettext', 'change_translate_text', 20 );
Thanks, i will try but it will take me a bit, as I need to understand/google some things.
Meanwhile, maybe it is easier if it is possible to use an icon instead. Like this:
https://wordpress.org/support/plugin/bbpress/