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

Last updated by Ahmed Ibrahim 2 weeks, 3 days ago.

Assigned support staff: Ahmed Ibrahim.

Author Posts
September 19, 2019 at 11:54 am #4604379

pierreb-3

Hi,

I am trying to submit posts for translation to TextMaster but I'm getting an error:

Sending batch Alma - Top Articles - EN to NL and ES|2 to translation.
Batch #1

(13) Batch doesn't contain any jobs

Rollback jobs...

Batch rolled back

Anyway to know what's going on and why it's not submitting correctly?

September 19, 2019 at 1:08 pm #4605061

Bruno Kos
Supporter

Languages: English (English )

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

Hi,

Can you please try what I suggested here?
https://wpml.org/forums/topic/13-batch-doesnt-contain-any-jobs/#post-4604689

And if that doesn't help, let me know so that we can check further.

Regards,
Bruno Kos

September 19, 2019 at 1:17 pm #4605105

Bruno Kos
Supporter

Languages: English (English )

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

Hi,

Alternatively, you can also try this:
https://wpml.org/forums/topic/i-get-an-error-when-trying-to-send-items-for-translation-from-translation-basket/#post-1377421

Regards,
Bruno Kos

September 19, 2019 at 2:24 pm #4606249

pierreb-3

The first link you sent me is our current discussion.

I tried ICL_DISABLE_CACHE but I still have the error.

September 19, 2019 at 2:25 pm #4606257

pierreb-3

I found the communication log:

89:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 789:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'.
09/19/2019 02:23:01 pm - call - hidden link - {"api_version":1.1,"batch_id":28683,"job":{"file":"UNDISCLOSED","word_count":773,"title":"Hotel Quinta da Comporta, Wellness Boutique Resort","cms_id":"post_2272_en_nl","udid":"31376138-6365-5362-a161-656237323165","url":"https:\/\/alma-da-comporta.com\/hotel-quinta-da-comporta-wellness-boutique-resort\/","translator_id":0,"note":"","source_language":"en","target_language":"nl"},"accesskey":"UNDISCLOSED"}
09/19/2019 02:23:03 pm - response - {"status":{"code":24,"message":"Wrong format of an XLIFF file: 409:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 409:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'.","debug":"409:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 409:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'."},"response":null}
09/19/2019 02:23:03 pm - error - (24) Wrong format of an XLIFF file: 409:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 409:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'.
09/19/2019 02:23:04 pm - call - hidden link - {"api_version":1.1,"batch_id":28683,"job":{"file":"UNDISCLOSED","word_count":770,"title":"Hotel Quinta da Comporta, Wellness Boutique Resort","cms_id":"post_2272_en_es","udid":"38663231-3665-5234-b466-343733626536","url":"https:\/\/alma-da-comporta.com\/hotel-quinta-da-comporta-wellness-boutique-resort\/","translator_id":0,"note":"","source_language":"en","target_language":"es"},"accesskey":"UNDISCLOSED"}
09/19/2019 02:23:06 pm - response - {"status":{"code":24,"message":"Wrong format of an XLIFF file: 404:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 404:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'.","debug":"404:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 404:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'."},"response":null}
09/19/2019 02:23:06 pm - error - (24) Wrong format of an XLIFF file: 404:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'. 404:0: ERROR: Element '{urn:oasis:names:tc:xliff:document:1.2}g', attribute 'ctype': 'lb' is not a valid value of the union type '{urn:oasis:names:tc:xliff:document:1.2}AttrType_InlineDelimiters'.
09/19/2019 02:23:08 pm - call - hidden link - {"api_version":1.1,"project_id":9478,"accesskey":"UNDISCLOSED","batch_id":28683}
09/19/2019 02:23:09 pm - response - {"status":{"code":13,"message":"Batch doesn't contain any jobs","debug":""},"response":null}
09/19/2019 02:23:09 pm - error - (13) Batch doesn't contain any jobs

September 20, 2019 at 6:09 am #4609935

Bruno Kos
Supporter

Languages: English (English )

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

Hi,

In order to debug this issue further quickly, would you be willing to provide me with temporary WordPress admin username so I could investigate the issue directly?

After you do, I will send this information to our translation services specialist who will check this case in more detail. I assume that all I need to do to reproduce issue is to create a translation job and try to send the batch, correct?

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Please make a full backup of your site before sharing this info!

You can use plugins such as UpdraftPlus WordPress Backup Plugin (https://wordpress.org/plugins/updraftplus/) or ask your host to perform a site backup.

Regards,
Bruno Kos

September 20, 2019 at 6:30 am #4610001

Bruno Kos
Supporter

Languages: English (English )

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

Hi,

I'm not sure about the error message - the proxy server which handles all this is quite complex and there is many communication data inside. This is why we have a supporter who handled all these cases so far, along with the help from proxy developers were needed.

I already submitted a ticket to them, but can you just try one last thing:
hidden link

Please update WPML, translation management and string translation to the latest versions, because this is the first thing they will ask us to do before proceeding further. Can you please do it now and update me, whether it helped?

Regards,
Bruno Kos

September 20, 2019 at 7:19 am #4610159

pierreb-3

I updated everything and tried again, the problem persists.

Regards

September 20, 2019 at 7:53 am #4610239

Bruno Kos
Supporter

Languages: English (English )

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

Hi,

This has been escalated to our 2nd Tier team and may take some debugging time, I'll get back to you as soon as I have any news or questions for you.

Regards,
Bruno Kos

September 23, 2019 at 1:08 pm #4624283

pierreb-3

Hi, any news on this? Even a quick fix?

Kind regards

September 23, 2019 at 1:43 pm #4624625

Bruno Kos
Supporter

Languages: English (English )

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

Hi,

Our 2nd tier is currently discussing this and debugging, but I have no news or quick fixes for you unfortunately.

Regards,
Bruno Kos

September 24, 2019 at 10:19 am #4630525

Ahmed Ibrahim
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

This is Ahmed Ibrahim from the Translation Proxy integration team, and I will help you with this issue.

As you can see in the error message that our TP doesn't accept your XLIFF files as it is not valid, so I will need to send these jobs to a local translator to extract the XLIFF file from WPML and check what is wrong with it.

Please confirm with me if this is ok with you so I can proceed.

Best regards.

September 24, 2019 at 12:55 pm #4631727

pierreb-3

Hi Ahmed, thanks for the follow up.

What does TP means? Translation Process?
Please do extract the file and check with your translator.

What's the process to detect XLIFF errors? Could I do it on my own?

September 24, 2019 at 3:21 pm #4632841

Ahmed Ibrahim
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

The TP means Translation Proxy, which is a middleware service that connects WPML with the service, so when you send jobs to any service, it should go first to TP to process and validate them and then send them to the service, also when the service send the translation back, it should go first to TP then WPML, and for you, the validation for the XLIFF files failed, so TP couldn't send them to the service.

We use some scripts in our TP to validate, but you can also use some online validators like this: hidden link

I will check the files and will come back to you soon.

Best regards.

September 30, 2019 at 9:05 am #4663169

Ahmed Ibrahim
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

We have fixed the issue and I have sent the page "Comporta beaches, the most beautiful places" and it worked as expected, so can you please test it and confirm that everything is ok now.

Best regards.