Background of the issue:
I'm trying to translate several pages on my website using WPML. The site uses Gutenberg patterns and template parts, and a large part of the content is built using those.
Symptoms:
Many pages only show the title in the WPML translation editor, while the rest of the content (blocks/patterns) is missing. When I try to send a pattern for translation through the Translation Management dashboard, I get the error: 'Sending for translation failed. The jobs could not be created.'
Questions:
Why are only the titles showing in the WPML translation editor while the rest of the content is missing?
How can I translate patterns?
How can I make sure that the entire page is translated, instead of the title only.
Some jobs are marked done, when only the title is translated, how can I prevent this?
What causes the error 'Sending for translation failed. The jobs could not be created' when sending a page for translation?
Welcome to WPML support. There were no replies in chat, so I turned the chat to a ticket:
It seems the main problem is the JOB point that you mentioned that needs to be checked, as if you can not send a translation of a pattern you will not be able to see it in the front end of the website.
Would you please go to WPML > Support > Advanced Translation Editor > Error Log and give me the error that you see at the top row of the table?
One more thing, please go to WPMNL > Support > Troubleshotting (link)
And share the ID you see at the top inside the Automatic Translation box.
{"url":"https:\/\/ate.wpml.org\/api\/wpml\/jobs","requestArgs":{"method":"POST","body":{"jobs":[],"existing_jobs":[152873318,152873317],"auto_translate":true,"preview":true,"job_type":6}},"status":417,"details":[{"status":417,"title":"Some job failed","message":"Batch failed, all jobs were rolled back."}]}
I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.
It is absolutely important that you give us a guarantee that you have a backup so if something happens you will have a point of restore.