Translate %s Comment en %s Comments


Dear support,

I really hope you can help me with translating the beans_comments_title (both the singular en plural). All translations on my site working fine. This is the only one i could not translate.

I tried to copy the following file to the exact location of my child theme and edit it. I have renamed it the different filenames.

./wp-content/themes/tm-beans/lib/languages/tm-beans.pot

I also tried to change the translation with this:

add_filter( 'beans_comments_title_text', 'example_modify_comments_title' ); function example_modify_comments_title() { return 'Commentaar'; }

I'm looking for hours without success 🙁

Best regards, Martijn


Hello Martijn,

I can see the original strings are included in the .pot file. I'll have to test if I can reproduce your problem.

Christoph


Hello Christoph,

I am very curious why it's not working. Could you reproduce it?

Thanx for helping!

Martijn


Hello Christoph,

I got it working.

I moved the file from: ./wp-content/themes/tm-beans/lib/languages/tm-beans.pot

Renamed it to: tm-beans-nl_NL

and placed it into the following dir: ./wp-content/languages/themes/

That did just the trick

Martijn

Write a reply

Login or register to write a reply, it's free!