[Resolved] Sync original language and its translations post status
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is trying to synchronize the post/page status between the original version and its translated version. They want to auto-translate pages but keep both versions unpublished until the translation is complete. They are facing issues because auto-translation only triggers once a page is published. Additionally, they want to ensure that when updates are made to the English content, the French translation is auto-translated but held for review before it goes live.
Solution: We explained that the automatic translation feature does not translate unpublished draft posts. However, draft posts can be sent to automatic translation manually from WPML > Translation Management. To publish the translation when the original post is published, go to WPML > Settings > Translated documents options > When you publish the original post: Publish the post translations.
We're trying to sync the post/page status of the original version and it's translated version.
What we're trying to do is have a page be auto translated but keep both versions unpublished until it's translation is complete.
The issue is that auto-translation only triggers once a page is published, so we publish a page to trigger auto-translation and then set it back to draft.
Then the translation job is set to pending review (which is what we'd like), but once the translation job is completed/published, we'd like the English version to be switched from draft to published as well.
Also, when a change is made in English, the French translation should be held until its reviewed and published manually by the translator. Because auto-translation is set to on, for pages that have been previously translated, the automatic translation gets published automatically without being held for review.
Thank you for contacting WPML support, I'd be happy to help you with this issue.
The automatic translation feature doesn't translate unpublished draft posts. It is noted in the documentation https://wpml.org/documentation/automatic-translation/
You can send the draft post to automatic translation manually from WPML > Translation Management.
And go to WPML > Settings > Translated documents options > When you publish the original post: Publish the post translations, to publish the translation if you publish the original post.
once the translation job is completed/published, we'd like the English version to be switched from draft to published as well
I'm afraid that it isn't possible. The post status in the original language (English) needs to be set manually on your own.
when a change is made in English, the French translation should be held until its reviewed and published manually by the translator
You can go to WPML > Settings > Automatic Translation section > Switch to option "Let me review it before it gets published" to review translated content before publishing. It is applied to the content, not the post status.
You can go to WPML > Settings > Automatic Translation section > Switch to option "Let me review it before it gets published" to review translated content before publishing. It is applied to the content, not the post status.
This only seems to work for new pages/posts. If a page has been already translated and there's an update to its English content, we'd like the French version to still be auto-translated but held for review before it goes live.
After discussing that feature with my colleagues, I'm afraid that it isn't possible. The translation of the updated content will be displayed in the frontend after completing the translation. However, you can review the translation and adjust it later.