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.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 -
- 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 -

Supporter timezone: Europe/Vienna (GMT+01:00)

This topic contains 2 replies, has 0 voices.

Last updated by ericH-23 18 minutes ago.

Assisted by: Bigul.

Author Posts
November 22, 2024 at 9:47 pm #16435352

ericH-23

Background of the issue:
I am working on a site under development and have activated the setting in WPML to delete translations when a post is deleted. I want to understand how this setting works, especially in relation to synced duplicates of posts.

Symptoms:
I am unsure if the deletion setting works for copies and what happens when original or synced copies are deleted.

Questions:
Does the setting to delete translations when a post is deleted also apply to duplicates?
What should happen if the original post is deleted?
What should happen if a synced duplicate is deleted?
Must the deleted post be removed from the trash for the duplicates to be deleted as well?

November 25, 2024 at 10:21 am #16438981

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

To help you faster, I've enabled debug information for this support ticket. Please see this link for how to get this information from your site and give it to us: http://wpml.org/faq/provide-debug-information-faster-support/

If we choose the *When deleting a post, delete translations as well* option in WPML>>Settings>>Posts and pages synchronization it will work like the following. Please try it after a full site backup and let us know your feedback.

1) When we Trash an original/default language post its translations will be also trashed

2) When we Trash an original/default language post its duplicates (in the secondary languages) will be also trashed

3) If we permanently delete a post from Trash, its translations/duplicates will be deleted permanently

4) When we Trash/Delete permanently a translated post its original/default language post will not be trashed/deleted

--
Thanks!

Bigul

November 25, 2024 at 11:37 am #16439381

ericH-23

Hi,
My situation is:

I added https://wpml.org/forums/topic/adding-posts-in-a-second-language-and-making-available-in-all-languages/ and now a user can add a job in every language and copies will be made with all other languages.

Managing of the jobs is only allowed in the language in which the job is created, because changes are synced then to the copies.

So also deletion is also only allowed in the language, in which the job was created. But the deletion by the user only delets the original job post, the copies are not deleted.

Only if the admin go to the job listing trash and delete this job permanet, all the copies are gone.

Is it possible to get all the copies deleted into the trash with deleting the original post?

Thanks, kind regards
Eric