Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
If you set English as your primary language and Bulgarian as your second, then completely remove Bulgarian, you are concerned that this will also delete associated images, leaving English products without pictures.
Solution:
Changing your site's default language to English will not affect the default language of your products, and images will still appear if the products are created in English. However, since Bulgarian was the default language for many posts, products, and other custom post types, you should take the following steps to properly remove Bulgarian content without affecting English content:
1. Temporarily reactivate the Bulgarian language.
2. Navigate to Posts, switch to Bulgarian, select the posts, and delete them.
3. Clear the trash.
4. Repeat the process for other post types like Products, Pages, and Templates.
You can find detailed instructions here: https://wpml.org/faq/how-to-delete-the-translation-of-a-page/
Additionally, ensure to back up your site before making any changes. We also canceled automatic translation jobs that might have been stuck due to content originally being in Bulgarian.

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If issues persist, please open a new support ticket.

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

Last updated by tsvetanT 2 days, 10 hours ago.

Assisted by: Andrey.

Author Posts
March 14, 2025 at 9:11 am #16815215

tsvetanT

And 1 more question: If i make English my primary language and Bulgarian second, then I delete Bulgarian language in total, that would delete the images as well and the english products won't have any pictures. How to handle that?

March 14, 2025 at 9:56 am #16815605

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

Your site's default language is different from the default language of your product. If you change your site's default language to English, it will not affect the default language of your product.

Images will appear if the products are created in English.

But I would strongly recommend backing up your site before you proceed.

March 14, 2025 at 10:34 am #16815898

tsvetanT

Okay, and when removing a language there is an option to delete all Bulgarian content.

However if it deletes the media, it will be deleted also for the english products.
So how do delete Bulgarian language but keep the media intact?

Screenshot 2025-03-14 at 12.33.24.png
March 14, 2025 at 3:59 pm #16817895

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

Have you tested this already? Is it deleted? If your media exists in English and the option "When deleting a post, delete translations as well" is not activated in WPML → Settings → Posts and pages synchronization, I suppose that the English media should exist.

March 17, 2025 at 2:36 pm #16825833

tsvetanT

Thanks. I think it works well. So far all english products are okay with images.

However it appears that deleting the old language stuff (see attached screenshot) is stuck. Any idea how to restart it?

Screenshot 2025-03-17 at 16.35.37.png
March 17, 2025 at 2:39 pm #16825855

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

Maybe it is processing some batches and you are out of some resources? If you refresh the page, do you see the numbers decrease from the last attempt? Try to run it again.

March 17, 2025 at 9:43 pm #16827270

tsvetanT

I tried refreshing the page, clearing the cache. The numbers are not dropping.

March 18, 2025 at 12:15 pm #16830010

tsvetanT

I can't delete Bulgarian language and I get messages "Some taxonomy terms are out of sync between languages.". Also I see options to translate in Bulgarian etc. What to do? Do you need admin access to check?

March 18, 2025 at 2:05 pm #16830854

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

I need to request temporary access (wp-admin and FTP) to your site—preferably to a test site where the problem has been replicated if possible—in order to be of better help. When you log in to leave your next reply, you will find the needed fields below the comment area. The information you will enter is private, meaning only you and I can see and access it.

March 18, 2025 at 7:45 pm #16832311

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

I have checked your website. Bulgarian was the default language for many posts, products, and other custom post types as far as I can see. That's probably where the issue is with the Bulgarian language, not the translation but the original content.

I would suggest the following steps to address this:

1. Activate the Bulgarian language temporarily

2. Go to Posts, for example, switch to Bulgarian, select the posts, and delete them.

3. Clear the trash

4. Do the same for other post types, such as Products, Pages, Templates.

Also, these steps can be seen here:
https://wpml.org/faq/how-to-delete-the-translation-of-a-page/

I've also cancel the autotic translation jobs in WPML → Support → Troublesooting. It is probably stuck as the original page content is Bulgarian, and it tries to translate from it to Romainian.

Before making any changes, please ensure that you back up your site first.

March 19, 2025 at 7:32 am #16833493

tsvetanT

Thanks! It all worked well.