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?
Ton
Somehow it also removes new paragraphs:
hidden link (original)
hidden link (automatic translation)
Please advice.
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?
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.
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
Ton
Sorry, I dont have the time for this.
Just wanted to report the issues at hand.