Conversation
supportHi, I’m trying to translate the email that comes to the referral with the code (I have an ecommerce multilingual), but I can’t. WPML doesn’t see the string, so I tried to edit the class-gens-raf-public.php file by adding “_e (…)”: if ($ user_message == “” || $ subject == “”) { $ user_message = _e (‘You referred someone! Here is your coupon code reward: {{code}}.’, ‘gens-raf’); $ subject = _e (‘Hey there’, ‘gens-raf’); } WPML sees the strings in English and at that point I add the translation. however the email always arrives in English only. If I remove the text / subject from the plugin settings, the email arrives blank. How can I solve? thank you This topic was modified 5 years, 2 months ago by anthony82 .
Hey Anthony, since emails are sent by the system, I am not sure how email translation would work. Since I am like 4 weeks late with reply, not sure if you managed to solve this.
hi goran, tried with wpml…it sees the string, but no translation. 🙁
Hey Anthony, since emails are sent by the system, I am not sure how email translation would work. Since I am like 4 weeks late with reply, not sure if you managed to solve this.
hi goran, tried with wpml…it sees the string, but no translation. 🙁