Hello Everyone!
Usually I can debug and fix things myself but in this case I'm out of ideas. I've already searched the forums and couldn't find a solution, so maybe you can help?
Environment: New website, clean install, working on a custom child theme based on the premium theme BeTheme. WordPress 5.9, everything up to date, no issues what so ever. Default WP language set to ro_RO (Romanian), I'm using Loco Translate to translate everything and it works fine without issues for the theme, child theme, other plugins etc - so all good there.
Problem: I've started traslating wpDiscuz, using Loco Translate, .mo/.po setting enabled and all that. Everything on the front-end seems to work ok, translations show up just fine for wpDiscuz. However when I've reached the email notification translations it's not working, I still get the notifications via email in English.
For example I'm having trouble translating this one: "wc_comment_approved_email_message"
from the default:
Hi [COMMENT_AUTHOR],<br/><br/>your comment was approved.<br/><br/><a href="[COMMENT_URL]">[COMMENT_URL]</a><br/><br/>[COMMENT_CONTENT]
to:
Bună [COMMENT_AUTHOR]!<br/><br/>Comentariul tău a fost aprobat!<br/><br/><a href="[COMMENT_URL]">[COMMENT_URL]</a><br/><br/><b>Comentariul tău:</b><br/>[COMMENT_CONTENT]
Which in the .pot file is set to be at class.WpdiscuzOptions.php line 417 (or 416, can't remember) but it wasn't there, neither was this one:
"wc_comment_approved_email_subject" => esc_html__("Your comment is approved!", "wpdiscuz")
Turns out that some of the entries in wpdiscuz.pot are not up to date, so I just synced the translation template in Loco Translate (and also synced my translation file located in languages/loco/plugins/wpdiscuz-ro_RO.po) and it added 10 new entries and removed 23 outdated. This fixed the inconsistency problem, now the translation entries correspond to the proper lines from class.WpdiscuzOptions.php, so "wc_comment_approved_email_message" is now at line 418 and that seems to be ok. But my problem still persists, even after checking everything I still get the English version via email.
I've cleared server, browser and all existing cache, disabled and re-enabled wpDiscuz, cleared it's internal cache, used the database tool "Fix Tables" (I enforce and use utf8mb4_unicode_520_ci for everything, I made sure of that), re-installed WP 5.9, disabled all additional plugins and the list goes on... I just can't find a way to make it work.
Any ideas why that particular email notification translation is not working? Any idea what could be or what to check / do?
Thank you!

