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 4 replies, has 2 voices.

Last updated by Andreas W. 3 weeks, 4 days ago.

Assisted by: Andreas W..

Author Posts
October 22, 2024 at 5:14 pm #16318801

Ton

Background of the issue:
I am using WPML for automatic translation on my site hidden link. In my original language, I have content with custom data-attributes:

[php]
mail ons.
[php]

Symptoms:
When automatically translated, the content with custom data-attributes gets removed, including the href attribute:

[php]
Envoyez-nous un courrier.
[php]

Questions:
Why are custom data-attributes removed during automatic translation?
How can I preserve custom data-attributes in translated content?

October 23, 2024 at 4:54 am #16319815

Ton

Somehow it also removes new paragraphs:

hidden link (original)
hidden link (automatic translation)

Please advice.

October 23, 2024 at 5:21 am #16319884

Ton

Seems like reverting to the old Advanced Translation Editor AND disabling disable the option “I prefer bigger segments” worked for me.

When I did NOT do this it would:
- Remove paragraphs
- Remove <br>
- Remove custom data-attributes

Realy this should get fixed ASAP.

Care to share what's going on here?

October 23, 2024 at 5:58 am #16319941

Ton

Also, sometimes for old posts, I still have to click "Unjoin" for some parapgrahs. In my opinion this is realy a weird feature, I would never use.

So how to disable this by default for future websites?

Still I would like an explanation what's going on and when the bug gets fixed too.

October 25, 2024 at 1:05 am #16328645

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Thank you very much for reaching out!

Could you please assist me with recreating the issue using simple examples on the following test site?

One-Click-Login:
hidden link

Please leave me a comment on this ticket, once you are done with this task.

Best regards
Andreas

October 25, 2024 at 5:42 am #16329069

Ton

Sorry, I dont have the time for this.
Just wanted to report the issues at hand.