Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by Raphael Cavalieri 3 months, 2 weeks ago.

Assigned support staff: Osama Mersal.

Author Posts
October 1, 2021 at 11:59 am #9703343

Raphael Cavalieri

custom html in email not translating

October 3, 2021 at 9:44 am #9710671

Osama Mersal

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)


Thanks for contacting WPML forums support. I’ll be glad to help you today.

1) Could you please try the following method in the working pure HTML code? (Kindly check the attached screenshot)

echo __('<p>your HTML code</p>', 'wpml-fix');

Would you please let me know if that fixed your issue?

Kindly check this guide for more info. (

2) Could you please share your Debug information with me?
You can read a detailed explanation about it here.
The debug info will give me a lot of information about how your site is configured and help me understand the source of the problem.

I hope this helps you. If you need further info, please let me know.

Best regards,

October 4, 2021 at 2:41 pm #9717085

Raphael Cavalieri


Thank you for your reply. Indeed, putting the echo rather than in a variable is much cleaner and it works properly.

My issue is resolved now. Thank you!