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.

This topic contains 0 replies, has 0 voices.

Last updated by Itamar 2 months ago.

Assisted by: Itamar.

Author Posts
December 8, 2024 at 5:23 pm #16490198

christosR-3

Background of the issue:
I had a properly configured setup with WPML along with WooCommerce. The website and the products have English as the main language and two secondary languages. Lately, I discovered that all content from the products in one secondary language is completely lost. Aside from products, all other post types (pages, posts, menus, etc.) are working correctly in all 3 languages. Link to a page where the issue can be seen: hidden link

Symptoms:
All content from the products in one secondary language is completely lost. I can see it both in the products list, where I see the globe icon for the default language, pencil for the first secondary language, and + sign for the third language which I have the issue. I expected to see the second language (Greek) loading correctly. Instead, I got no data available for the second language.

Questions:
Why is the product content missing for one secondary language?
How can I restore the lost translations for the products?

December 8, 2024 at 5:47 pm #16490274

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

Please let me see if I understand the problem correctly.

1. The problem is only with the Greek translations. Is this correct?

2. You had translations from English into Green and not the Greek products shown in English. Is this also correct?

Please also tell me how you translated the products from English to Greek.
Did you use automatic translation?

If you need further help with this, please share the access details to your site with me. I'm enabling a private message for the following reply.
Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Regards,
Itamar.

December 8, 2024 at 8:07 pm #16490476

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi, and thanks for the access details.

I can see that not all the Greek products are translated. In WPML -> Settings -> Post Types Translation, you selected "Translatable - use translation if available or fallback to default language" for "Products (product)," and because of this, the Greek products are shown in English. (This for itself is good.)

When I go to WPML -> Translation Management -> Jobs, I can see that all the products were translated long ago on 2021-07-18. Please see the attached screenshot.

Do you remember if you used WPML Classic Translation Editor or the Advanced Translation Editor to translate the products?

I must say that I don't see how a problem like this can happen unless someone intentionally or not deleted all the Greek products.

It can also happen if you move your site from another server and something goes wrong during the migration.

Did you migrate your site from another server before this problem happened?

To fix this problem, please restore your site from a backup before it occurred, if you have the option.

**** Important! Please make a full site backup (files and DB) before you proceed with those steps****

Regards,
Itamar.

2024-12-08_21-50-04.jpg
December 8, 2024 at 9:02 pm #16490520

christosR-3

Hello again,

We have used the Classic Translation Editor.

Indeed, some time ago we have switched to a new server. Nevertheless, the whole db has been dumped and restored successfully. As a result, theoretically all the posts are somewhere within the database.

An older backup is not available at least with the Greek data....

Is there any other way except the restore option?

Thanks.

December 8, 2024 at 9:46 pm #16490537

christosR-3

I will try to find somewhere an older backup if needed. We may close this ticket, please.

Thank you.

December 9, 2024 at 10:11 am #16491776

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

I can suggest another thing you should try. Please try the troubleshooting section. There is a specific troubleshooting page for WooCommerce Multilingual & Multicurrency and a general WPML troubleshooting page. You can read about it here.

https://wpml.org/documentation/support/wpml-troubleshooting-options/

I suggest you start with the WooCommerce Multilingual & Multicurrency troubleshooting page and, if that does not work, move to the WPML troubleshooting page. Here are the steps for the general troubleshooting. (The bolded options are more likely what you need, but you can try all the options while you are on this page).

1. Take a backup of your site's DB.

2. Go to WPML -> Support -> Troubleshooting (link)

3. Once on the troubleshooting screen, press the following buttons and check if it helps. Press each button at a time and wait for the process to complete.

- 'Disable cache for language switcher templates'

- 'Clear language information and repopulate languages' button (if it is showing)

- 'Synchronize posts taxonomies' for 'Products'

- 'Clear the cache in WPML'

- 'Remove ghost entries from the translation tables'

- 'Fix element_type collation'

- 'Fix WPML tables collation'

- 'Synchronize local job ids with ATE jobs'

- 'Synchronize translators and translation managers with ATE'

- 'Assign translation status to duplicated content'

- 'Set language information'

- 'Reset languages' Press this button only if you didn't add a custom language!

- 'Fix terms count'

- 'Fix post type assignment for translations'

- 'Cleanup and optimize string tables'

- 'Clear invalid strings'

*** Please backup your database before using this.***

I hope this will help.

Regards,
Itamar.

December 12, 2024 at 7:03 am #16506229

christosR-3

Hello,

I've tried all the options, unfortunately I've been unable to fix the issue. I've restored and older backup.

Thank you.

December 12, 2024 at 3:34 pm #16508737

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

You are welcome.

I assume we can consider this issue resolved and close this ticket.

Don't hesitate to contact us again with any WPML issues or questions.

Take care,
Itamar.