Skip Navigation

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

Problem:
If you're experiencing multiple sentences appearing in the same segment (row) in the Advanced Translation Editor (ATE).
Solution:
We recommend you adjust your ATE settings. In the Advanced Translation Editor, click on the settings icon located in the right upper corner. Here, disable the option

I prefer bigger segments

. Please note, these changes will only affect new translation jobs. To apply this setting, edit your original content, save it, and then reopen the translation editor. This option is enabled by default in the new Gen3 UI of the Advanced Translation Editor.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your specific case, we highly recommend checking 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 further assistance is needed, 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 10 replies, has 0 voices.

Last updated by Andreas W. 2 weeks, 2 days ago.

Assisted by: Andreas W..

Author Posts
November 12, 2024 at 2:47 pm #16393310

ronaldT-5

Background of the issue:
I am trying to only get a single sentence for each ATE segment (row) on the live production site, the same as on staging. The issue can be seen at: hidden link

Symptoms:
I got multiple sentences on the same segment (row) on the live production site in ATE.

Questions:
Why are there multiple sentences on the same ATE segment?

November 12, 2024 at 10:11 pm #16394791

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

In the right upper corner of the Advanced Translation Editor, click on the settings icon, then disable the option "I prefer bigger segments".

The changes will only be visible on a new translation job.

Edit the original content, save it and open the translation editor again.

Best regards
Andreas

November 12, 2024 at 10:20 pm #16394854

ronaldT-5

Okay, it is odd that this option turns on by itself upon deploying staging.

November 12, 2024 at 11:06 pm #16394930

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

This option is currently enabled by default on the new Gen3 UI of the Advanced Translation Editor.

November 13, 2024 at 12:53 am #16395222

ronaldT-5

I did as asked. I turned it OFF. Then, I changed the title of the page (aknowledgement to aknowledgement-) and saved it. Then I retranslated it in ATE and save it.

I redid the same again, but in reversed, changed the title from acknowledgment- to acknowledgment and so on. In the end, despite "I prefer big segments" being off still, the segments in ATE have multiple sentences in a same segment.

Sounds to me like the new version of WPML was rushed out the door without enough testing once again. Testing is everything, and would save a lot of money in support efforts.

Screenshot 2024-11-12 at 7.48.28 PM.jpg
November 13, 2024 at 5:03 pm #16398812

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Indeed, we are still working on enhancing this new version. Surely we run tests, but there can always occur edge cases.

I will be trying to recreate this issue, so that I can escalate it internally.

Workaround:
Inside the options of the Advanced Translation Editor, use the option "Use the previous version of the Advanced Translation Editor" to switch back to the Gen2 UI of the Advanced Translation Editor.

November 13, 2024 at 5:28 pm #16398867

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

It appears that clearing the WPML cache usign the WPML troubleshooting options solved this issue.

It would be important to know now how to recreater this issue.

Does this always occur after migrating from Staging to Live site?

November 13, 2024 at 7:06 pm #16399304

ronaldT-5

Yes, it always occur after pushing staging onto production.

November 13, 2024 at 7:19 pm #16399336

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

OK, then I might need to suggest to always clear the WPML cache after pushing from Staging to Production and this should solve the issue.

I do sadly not have no idea how I could troubleshoot this. The only think I could offer, it to take a local copy with "All In One WP Migration" and see if I can recreate the issue after migrating to localhost.

Would you agree with that?

November 13, 2024 at 8:25 pm #16399470

ronaldT-5

Actually, I've decided to use "I prefer bigger segments" now that I know it is normal behavior.

November 13, 2024 at 8:31 pm #16399473

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Thank you for your message!

Then I guess we can close this ticket. I will investgate further on the other open ticket that we have about the issue with incomplete translation statuses after running updates.

Somehow there occurs a cache issue each time you push from staging to live.