Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 -
- 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 -

Supporter timezone: Asia/Kathmandu (GMT+05:45)

Tagged: 

This topic contains 9 replies, has 1 voice.

Last updated by Shekhar Bhandari 3 months, 4 weeks ago.

Assisted by: Shekhar Bhandari.

Author Posts
April 30, 2025 at 4:46 am #16981574

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

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

Hello there,

The configuration files as mentioned here: https://wpml.org/forums/topic/wpml-alters-attribute-strings-and-breaks-html-and-json/#post-16977237

Do you still see the error after this XML?

Look forward to your reply.

Thanks

April 30, 2025 at 5:03 pm #16984997

axelT-5

Hello,

as mentioned the workaround for this case works, thank you again.

Nevertheless there is a bug where WPML accidentally messes the structure of string attributes whether they should be translated or not. You created a workaround for a specific case, but the bug will strike again, or has already done so in other existing cases (reported or not).

Remember this issue is already a old before I hit on it and debugged it until I found the cause.

May 2, 2025 at 2:30 pm #16989943

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

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

Hello Alex 🙂

Thank you for the details again.

I attempted to replicate the issue again with post contents I am unable to reproduce it with it, can you provide me another example if you have where I can reproduce the issue?

Look forward to your reply.

Thanks

May 4, 2025 at 8:45 pm #16993913

axelT-5

We already reproduced the issue on your labsite on April 29th and you provided a workaround configuration to not trigger this bug.

May 5, 2025 at 5:13 am #16994238

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

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

Hello there,

I have escalated the issue to our compatibility team for another check on this.

I will update you as soon as I will receive any further feedback from them.

Thanks

May 15, 2025 at 2:51 am #17034737

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

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

Hi there,

Our compatibility team shared some feedback:

This isn’t a bug in WPML. It’s because the plugin needs to add a WPML integration (with the XML file), but they don’t have that yet. The plugin author should fix that.

Without the integration, we can run into problems like this.

Let me know if this helps!

Thanks

May 15, 2025 at 7:36 am #17035262

axelT-5

Hello,

so WPML is breaking otherwise valid HTML/CSS unless a plugin adds WPML compatibility code?
AFAIK WPML was doing its best until now to not randomly break plugins. Now there is a new requirement that only WPML compatible plugins are admitted which is a huge restriction - I am not even sure what percentage of the plugin have WPML compatibility code.
This is not about this specific plugin - it is about every plugin that does not have WPML compatibility code, which is the majority. The debugging of this issue took various people weeks and moths to conclude it even had to do with WPML. I'm sure there are other issues where WPML might have struck and people are still debugging.

May 16, 2025 at 3:50 pm #17042780

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

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

Hello,

Thanks for getting in touch!

So far, we’ve only received a report from you. I’ll keep an eye out for similar issues in other plugins and let our developers know if I find anything. That way, we can try to prioritize it and see if we can do something about it.

Unfortunately, I’m afraid we won’t be able to move forward with this at the moment.

Thanks again!

The topic ‘[Closed] WPML alters attribute strings and breaks HTML (and json)’ is closed to new replies.