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
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 -

Supporter timezone: Europe/Zagreb (GMT+02:00)

Tagged: ,

This topic contains 22 replies, has 0 voices.

Last updated by simonB-10 3 days, 13 hours ago.

Assisted by: Dražen.

Author Posts
October 23, 2025 at 8:10 am #17511274

simonB-10

Hi Drazen,

Thanks for your answer - I see now that the scripts in the html-widget are messing with the translation and make the error happen.

Is there some way to tell wpml to exclude/ignore the html-widget of elementor?

October 23, 2025 at 8:26 am #17511378

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

I am afraid there is no simply way, as said best would be not to add custom code inside page builders, that is not recommended way in General.

You should add it via some other method, like inside your child theme, code plugin, custom code function / shortcode and etc. Otherwise it is difficult to maintain such code, as often is forget and can break your page layout, even without WPML plugin.

Regards,
Drazen

October 23, 2025 at 9:37 am #17511631

simonB-10

Every new post will have these 2 script and they will be different in all 3 language.

It will be very messy to make 3x shortcode and add them each time - much faster through elementor html-widget.

Is it possible to maybe tell wpml to ignore the html-widget, through the wpml-config.xml?

October 23, 2025 at 9:47 am #17511678

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

I understand, lets try to reproduce the issue on next test site and then I will further check with our ATE team why this breaks and if we might have a bug from our side, and if not we can try to provide a workaround for you.

I created a minimal installation of WordPress, WPML, and all necessary WPML add-ons, and themes.

You can access the WordPress dashboard using the link below:

- hidden link

Create new page with HTML widget and add your script, translate and same issue should happen.

Let me know when done.

Regards,
Drazen

October 23, 2025 at 11:49 am #17512311

simonB-10

I added the 2 script (viator and google) as html-widgets here: hidden link

I am not sure, how to send this to automatic translation or if this doesn´t matter for the test. Maybe you can do this, now the scripts are added?

October 23, 2025 at 11:57 am #17512340

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hey,

no need thanks, I can test it just with regular translation.

Odd thing is, it works fine there, so that means our ATE team is already aware of this issue and soon it will be released to production also.

Let me check for more info and confirm on this, and I will get back to you.

Regards,
Drazen

October 24, 2025 at 6:01 am #17514764

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

just to update you.

We did some testing and isolated the problem, it does look like the recent ATE fixes, well, didn't fix all cases, and somewhat surprisingly this happens because of ATE breaking the trans-unit source rather than the target.

Our ATE team is checking, and we will try to provide the fix as soon as possible, but note it may take few days.

My apology for such delay in fixing this issue, and me possible taking few days since following wrong lead.

Regards,
Drazen

October 24, 2025 at 7:32 am #17515044

simonB-10

Hi Drazen,

Thanks for the update - I/we look forward to the fix. 🙂