Skip Navigation

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 5 replies, has 3 voices.

Last updated by Dražen 1 year, 9 months ago.

Assisted by: Dražen.

Author Posts
August 17, 2023 at 7:36 pm #14248497

charlesC-27

The step that is not working is the export function. The problem is that when we upload the XLIFF's WPML gives us to a CAT tool, the body of the post is given in one huge segment. The breaks are not happening. This used to not be a problem, about a month and a half ago we exported some posts and when we uploaded it to a CAT tool it was broken up into 90+ strings. Now that same post only gives us 7-10 strings when we upload the XLIFF to the same CAT tool and all of the body is in one string. I have tried exporting the XLIFFS multiple times with different posts and I have tried all three XLIFF versions. We do have to latest update of WPML.

Screenshot 2023-08-17 at 1.35.01 PM.png
August 18, 2023 at 12:34 pm #14252507

Alejandro
WPML Supporter since 02/2018

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

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

Hello!

I'll help you get started while a supporter takes your case.

The XLIFF files takes the content as they are stored in the WordPress database, which means they will show the content exactly as WordPress would store any post or page.

However it's the CAT tools that take this information and then segments it, showing you the strings that you mention you saw before. the XLIFF files never have a unique segment, but say one segment per custom field, gutenberg block, etc (again, this is decided by WordPress, not us).

I'm pretty sure that if you upload the same XLIFF file in 2 different CAT tools you will get 2 different results, because each one has its own way of segmenting the content. the same is also true for our CAT Tool (The advanced Translation Editor).

So i'm not sure how we can help you here.

Regards.

August 18, 2023 at 8:27 pm #14255147

charlesC-27

We have tried uploading the XLIFFs in different CAT Tools, such as Crowdin and Trados, and we get the same result. To my knowledge there have not been any changes we have made to our WordPress settings. If there are any settings in WordPress that you recommend please let us know. This means that without any changes to our WordPress settings WPML went from giving us XLIFFs with 90+ segments to know only giving us 7-10 segments. I will share two files that WPML gave us that worked and two that did not. Hopefully that will be helpful in finding a solution.

hidden link

August 21, 2023 at 7:00 am #14260089

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks for getting back.

1) I do not see any files in the shared folders, please recheck.

2) Can you please explain how are you exporting this XLIFF and sending it for translation? I am trying to clear things up and be sure what method you use. Since you might be also using our integrated translation service option.

Let me know.

Regards,
Drazen

August 23, 2023 at 10:34 pm #14280829

charlesC-27

Hi Drazen,
Sorry about that. The files should be in the shared folders now.
We are using WPML to export the XLIFF, which our in-house translators then put into Trados to translate.

August 24, 2023 at 6:56 am #14281877

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks for getting back.

It should work, as I can see from the old XLIFF file.

Please try one thing, make sure to have a backup just in case:

- Go to WPML > Packages
- Delete packages related to your example page (Change: It's Always a Possibility! )
- It should say something like Page Builder Page 8236, where the number is the ID of the default language page
- Go to WPML > Translation Management > Jobs, canceled if any ongoing jobs for this page
- Send the page again for translation.
- Go to WPML > Translation > Download XLIFF and check if the issue still happens.

Let us know how it goes.

Regards,
Drazen