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 1 reply, has 2 voices.

Last updated by Shekhar Bhandari 1 year ago.

Assigned support staff: Shekhar Bhandari.

Author Posts
September 27, 2018 at 11:52 am #2770368

iokinP

Hi we are suffering an issue with the WPML translator.
A piece of HTML code seems to remove the last attribute [onclick="changeCheckbox('check-act4')] when we move from “Text” tab to “Visual” tab.

________________________________________

<div class="checks-godo" style="color:#6e6259;font-size:18px;">
<div>¿Has completado el ejercicio? Marca la casilla para continuar</div>
<div id="check-act4" class="check-act check-act4 inputchecks" onclick="changeCheckbox('check-act4')"></div>
</div>
________________________________________

Translations seems to not add the last HTML attribute: onclick="changeCheckbox('check-act4') when I move from “Text” to “Visual” tab.
You can see the image below.

Any suggestion to avoid this issue?

September 28, 2018 at 8:25 am #2772893

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Thank you for contacting WPML support. I'd be happy to assist you further on this issue.

The issue is coming from the WP Editor itself, to test you can disable WPML add the code in any new post/page and switch to visual mode, the same changes occurs.

Being so, I suggest you do not use the visual mode and translate the content using the text mode itself.

I hope this helps.

Thanks