Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are trying to translate a published page using the + icons in the post edit UI. When you click on the +, it launches the Advanced Translation Editor (ATE) with all translations prefilled. After accepting and completing the translation, the ATE closes, and the + icon changes to a refresh icon, then a cog icon. However, the translated page is not accessible via the icon or the language dropdown, and there is a translation job marked as 'in progress' in the Translation Management > Translation jobs table that never completes.
Solution:
The issue occurs because the page contains an HTML block with a large JavaScript script, which breaks when ATE tries to translate it, resulting in an invalid XLIFF file. WPML then rejects this file. We recommend two possible workarounds:
1. Temporarily delete the problematic section and add it back after the translations are complete.
2. Avoid using ATE for this page. Instead, use the Classic Translation Editor (CTE) or the WordPress editor to manually edit the translations with Elementor. This method is more time-consuming but allows you to use the automatically translated texts from the translation memory.
We have escalated this issue to our developers for a permanent fix.

Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking for related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum.

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.

Tagged: 

This topic contains 1 replies, has 1 voice.

Last updated by Paola Mendiburu 2 months, 3 weeks ago.

Assisted by: Paola Mendiburu.

Author Posts
April 15, 2025 at 8:26 am #16932374

alexandreP-37

Hello Paola,
Nice to e-meet you. I've just added the requested plugin. I believe you still have the Administrator account I created for wpml ?

I would be very interested myself to know the DB queries you guys will do to fix the error so that I can fix the issue myself next time. Can you share that with me ?

April 15, 2025 at 11:03 am #16933559

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

The second tier is debugging the issue and we will share the solution..

April 15, 2025 at 1:44 pm #16934441

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

The adminer plugin doesn't work, presumably some limitation of their setup blocking it.

Could you please instead add the plugin "WP Data Access"? it should be able to connect to the database despite the limitations.

April 15, 2025 at 4:50 pm #16935621

alexandreP-37

Done!

April 16, 2025 at 7:58 am #16937183

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

Ok thanks.

I will let you know when I have news.

April 17, 2025 at 8:54 am #16942821

alexandreP-37

Hello Paola,
Do you have any update for me on this issue?

April 17, 2025 at 9:56 am #16943173

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

Hi there!

Yes, they will be able to cancel the jobs from WPML > Translation Management > Jobs.

Please make a small change on the original page, save it and resend it to translation.

Please let me know if it works.

Thank you.

April 17, 2025 at 10:48 am #16943489

alexandreP-37

Hello Paola,

I was able to delete the jobs using the mentioned interface. I then modified slightly the original page, saved it then re created the translation job. Unfortunately, these are also stuck in progress.

April 17, 2025 at 1:48 pm #16944330

alexandreP-37

not sure if it helps but i cloned the website locally to have an easier access to the php-fpm logs and it shows these warnings. We do not use nor need xliff, is there a way to disable this ?

[17-Apr-2025 13:45:17 UTC] PHP Warning: mb_ereg_replace_callback(): mbregex search failure in php_mbereg_replace_exec(): retry-limit-in-match over in /var/www/html/web/app/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-validate-html.php on line 363
[17-Apr-2025 13:45:17 UTC] PHP Warning: mb_ereg_replace_callback(): mbregex search failure in php_mbereg_replace_exec(): retry-limit-in-match over in /var/www/html/web/app/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-validate-html.php on line 363
[17-Apr-2025 13:45:45 UTC] PHP Warning: simplexml_load_string(): Entity: line 426: parser error : Opening and ending tag mismatch: source line 65 and script in /var/www/html/web/app/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[17-Apr-2025 13:45:45 UTC] PHP Warning: simplexml_load_string(): /script>]]></script>]]></source> in /var/www/html/web/app/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[17-Apr-2025 13:45:45 UTC] PHP Warning: simplexml_load_string(): ^ in /var/www/html/web/app/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[17-Apr-2025 13:45:45 UTC] PHP Warning: simplexml_load_string(): Entity: line 426: parser error : Sequence ']]>' not allowed in content in /var/www/html/web/app/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[17-Apr-2025 13:45:45 UTC] PHP Warning: simplexml_load_string(): /script>]]></script>]]></source> in /var/www/html/web/app/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[17-Apr-2025 13:45:45 UTC] PHP Warning: simplexml_load_string(): ^ in /var/www/html/web/app/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[17-Apr-2025 13:45:45 UTC] PHP Warning: simplexml_load_string(): Entity: line 426: parser error : Opening and ending tag mismatch: trans-unit line 64 and source in /var/www/html/web/app/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[17-Apr-2025 13:45:45 UTC] PHP Warning: simplexml_load_string(): /script>]]></script>]]></source> in /var/www/html/web/app/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[17-Apr-2025 13:45:45 UTC] PHP Warning: simplexml_load_string(): ^ in /var/www/html/web/app/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[17-Apr-2025 13:45:45 UTC] PHP Warning: simplexml_load_string(): Entity: line 789: parser error : Opening and ending tag mismatch: body line 17 and trans-unit in /var/www/html/web/app/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[17-Apr-2025 13:45:45 UTC] PHP Warning: simplexml_load_string(): </trans-unit> in /var/www/html/web/app/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[17-Apr-2025 13:45:45 UTC] PHP Warning: simplexml_load_string(): ^ in /var/www/html/web/app/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[17-Apr-2025 13:45:45 UTC] PHP Warning: simplexml_load_string(): Entity: line 978: parser error : Opening and ending tag mismatch: file line 3 and body in /var/www/html/web/app/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[17-Apr-2025 13:45:45 UTC] PHP Warning: simplexml_load_string(): </body> in /var/www/html/web/app/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[17-Apr-2025 13:45:45 UTC] PHP Warning: simplexml_load_string(): ^ in /var/www/html/web/app/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[17-Apr-2025 13:45:45 UTC] PHP Warning: simplexml_load_string(): Entity: line 979: parser error : Opening and ending tag mismatch: xliff line 2 and file in /var/www/html/web/app/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[17-Apr-2025 13:45:45 UTC] PHP Warning: simplexml_load_string(): </file> in /var/www/html/web/app/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21
[17-Apr-2025 13:45:45 UTC] PHP Warning: simplexml_load_string(): ^ in /var/www/html/web/app/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21

April 18, 2025 at 5:28 pm #16947897

alexandreP-37

I also see that there are many ATE communication errors here:

hidden link

for instance, i just tried again to translate the Atlas AI page and it logs this:

2025/04/18 5:22:35 PM
XLIFF Server Communication The xliff file could not be read. 1966 137627772

{"downloadUrl":"https:\/\/ate-production.s3proxy.wpml.org\/translated_xliffs\/xliffs\/097\/609\/538\/original\/translated_136362287_Atlas_AI20250418-2180195-17uthf5.xliff20250418-26138-1v1gvro.xliff?Expires=1745601755&Signature=UybJZauJ5ritTwexQjT-bd04ddMeni4QfIASIdQvefRy27G21s2iLjvL68HGQtW1Aj~s44YXFfZKNvG4Nl7idqq87XEYu86jrd-ubPdj3ePXsXZ7DW~ShzP-Jm0-Q5FCYPJImE-tLw4Dvu2md51Ziu6LF8iJbtOhSvGtuVtHaprBn2ouv85Hzrg9bk92IORAkT4dhI9sM8z2VHSIDvLst~aotP8aZCYS2NJ--XQOH6V97vBaYlNGzLE9po0VVV0TtC1s4nN-e0RLRPj3PFGA5ko57yWabinwgjboWoVL4s8HNplsFozvKNrOtoqRy26ZC1aYFAq7BxP5~ynthVVIQg__&Key-Pair-Id=K1C11UVRQNXLRQ"}

Can you please get back to me ? This issue is impacting us a lot. Thank you for your help!

SCR-20250418-qynx.png
April 20, 2025 at 2:11 pm #16949916

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

I have escalated to the second tier.

April 22, 2025 at 10:52 am #16954632

alexandreP-37

OK. This issue was started on April 4 so if your team could fix it soon, it would be great.

April 22, 2025 at 3:52 pm #16956433

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

Hi there,

I’m really sorry for the ongoing delay. Our team is actively investigating the problem—so far we’ve tested several potential fixes, but none have fully resolved the issue. Rest assured we’re treating this with priority, and I’ll update you the moment we have concrete news or a permanent solution in place.

Thanks for your patience and understanding.

April 24, 2025 at 10:20 am #16963777

alexandreP-37

Thanks Paola. It's a really weird issue. I just tried again deleting and entirely recreating the page manually, then translate it, just for one language at a time, to no avail. The translation job get stuck as "in progress".

The only error I see is the xliff one I mentioned earlier: "The xliff file could not be read."

hidden link

extra data column :

{"downloadUrl":"https:\/\/ate-production.s3proxy.wpml.org\/translated_xliffs\/xliffs\/098\/327\/681\/original\/translated_137371006_Atlas_AI20250424-9185-1a55lba.xliff20250424-3274-14kmq6g.xliff?Expires=1746094660&Signature=vOdSITQgUlbIJ4yA39m2bTUuTXIHBDHCKgzf20Z6q9ER8BvzA9GEO6bSvrO1Xfliad5pI059DQ0W2OaItJUfU5D8M2-vIttf0kwzZsTVqRv8sg2IeU~jXYU7ADcTlOt-7GJSBeODd2JmWM1J4UAcr3oNMus9D51tT6sL0dPFPykMNh4YkDHdsfnTLf192UGjehWA5SqrTKfz1LeYnX8JTu8zWMETfJS2D0IZbNJC53Tdpsp2YmZ95dST1tPNL7TEtN8lZaeVxko0uSsf8sTtsOD0fs8W~Z1XLRYojGG3GlAq4FdU3NF17HXZmdpu2T83REGhTGp-OVu1SV9Fj0TT3g__&Key-Pair-Id=K1C11UVRQNXLRQ"}
April 24, 2025 at 1:19 pm #16964624

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

The second tier is investigating the issue.

I will let you know when I have some news.