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 30 replies, has 0 voices.
Last updated by Dražen 2 months, 2 weeks 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, |
| 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: Create new page with HTML widget and add your script, translate and same issue should happen. Let me know when done. Regards, |
| 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, |
| 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, |
| October 24, 2025 at 7:32 am #17515044 | |
|
simonB-10 |
Hi Drazen, Thanks for the update - I/we look forward to the fix. 🙂 |
| October 30, 2025 at 12:46 pm #17532677 | |
|
simonB-10 |
Hi Drazen, Do you have an update on the fix? |
| October 30, 2025 at 2:13 pm #17533043 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, I see that our team has created a fix, but it hasn’t been released to the production translation server yet. I’ll check with them again and update you shortly. Sorry for the delay. Best regards, |
| November 5, 2025 at 12:05 pm #17549703 | |
|
simonB-10 |
Hi Drazen, I would be nice if you could tell approx. how long it will take before the fix is in production? Do you have an update on the fix? |
| November 5, 2025 at 12:09 pm #17549721 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, I see we are testing the fix, let me check with our ATE devs again as I think it should be released in day or two. Regards, |
| November 6, 2025 at 9:59 am #17552859 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, just to update, we should be deploying the fix for the issue later today. Also note we have checked further your invoice report via e-mail and my colleague Mercedes will reply soon to you on that topic. Regards, |
| November 7, 2025 at 12:36 pm #17557227 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, it should work fine now. Please resend your jobs for translation. Regards, |
| November 10, 2025 at 8:29 am #17560947 | |
| simonB-10 |
Hi Drazen, Thank you very much for the fix - now all the jobs get finished/pencil-symbol. 🙂 1) In all the posts there is a section in which an HTML widget is inserted with most often a Viator affiliate code - as you have seen - e.g.: "<div data-vi-partner-id="P00095673" data-vi-widget-ref="W-6712b6be-d928-47db-b9a6-c96bce812859"></div> 2) These Affiliate codes are different for each language (in our case EN and FR) Is there a work-around for this? New threads created by Dražen and linked to this one are listed below: |