Skip Navigation

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

Problem:
The client was experiencing an issue where the Gift Card category products were not appearing in the English translation on both the frontend and backend of their WooCommerce site. The category synchronization button was missing, and translations were not updating correctly.
Solution:
We recommended the following steps to resolve the issue:
1. Navigate to WooCommerce > WooCommerce Multilingual > Categories and click on the button to synchronize categories. After synchronization, clear both site and browser caches.
2. If the issue seemed related to a plugin conflict, we advised deactivating all plugins except for WPML, String Translation, and WooCommerce to check if the problem persists. Then, reactivate the plugins one by one to identify any conflicts.
3. Check the assignment of categories to products in the English version via the WordPress Editor and ensure the Product base slug is translated correctly. For more details, visit https://wpml.org/documentation/related-projects/woocommerce-multilingual/#urls
4. If translations were stuck or showing as incomplete, we suggested navigating to WPML > Support > Troubleshooting and performing several maintenance actions listed there, followed by reattempting the translation.
5. For persistent issues, we recommended checking the Advanced Translation Editor's error logs for further clues.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend opening a new support ticket. Please also check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, you can contact us directly at the WPML support forum.

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 beverlyL 4 days, 11 hours ago.

Assisted by: Prosenjit Barman.

Author Posts
December 17, 2024 at 8:41 am #16520282

beverlyL

Background of the issue:
I have used the automatic translation feature in WPML to translate all products on my site hidden link. Every category is working fine, apart from the Gift Card category.

Symptoms:
The translated product is missing on both the frontend and backend for the Gift Card category. Only one product is showing under English.

Questions:
what I should do to make all the product appearing for the English? thanks!

December 18, 2024 at 8:21 am #16524496

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There!
Thanks for contacting WPML Support.

I checked the Gift Card category in the English version and was able to reproduce the issue. It seems the categories may not be properly synchronized across translations, which could be causing the problem. Please try the following steps and check again:

- Go to WooCommerce > WooCommerce Multilingual > Categories.
- At the bottom of the page, you’ll find a button to synchronize categories. Click on it and wait for the process to complete.
- Once synchronization is done, clear your site and browser caches and try again.

Additionally, I noticed that the categories appear briefly and then disappear. This behavior could be caused by a conflict between plugins. To rule this out, could you please deactivate all plugins except WPML, String Translation, and WooCommerce, and then check if the issue persists?

If that solves the issue, start activating the plugins one by one and after activating each, refresh the archive page and check if the product shows properly or not.

Let me know the update. I'll be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

December 19, 2024 at 2:06 am #16528248

beverlyL

Hi Prosenjit,

Thank you so much for your reply.

I've went to WooCommerce > WooCommerce Multilingual > Categories, on the first time, I saw the sync button, and I clicked, it said something like products have different assignment.

So I went to product, was trying to see the gift card item category assignment, then I realise that, I cannot see what the English gift cards were assigned to. I couuld only see the WPML editor. Is there anyway that I could see what category each individual item is assigned to?

When I now go back to the WooCommerce Multilingual Categories page, the button no longer exists. Do you know why that is?

Thanks!
Gary

December 19, 2024 at 5:30 am #16528415

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There!
Thank you for the update.

When you click the Category Synchronization button, WooCommerce Multilingual synchronizes the categories in the translations. If all categories and products are already in sync, the button will no longer appear in the Categories tab of WooCommerce Multilingual.

To verify if the Category is correctly assigned to the products, you can check this directly in the WordPress Editor instead of using the ATE. Here's how you can do it:

- From the Admin Dashboard, switch to the English language using the language switcher in the top bar.
- Navigate to Products > All Products.
- Open the products under the gift card category.

The English product will open in the Product Editor, where you can confirm if the Category assignment for these products is correct.

Please also check if the Product base slug has been translated properly for the English language. Please check the guide below for more details.

- https://wpml.org/documentation/related-projects/woocommerce-multilingual/#urls

Let me know how it goes. I'll be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

December 21, 2024 at 2:38 am #16535805

beverlyL

Hi Prosenjit,

Thank you for the advice.

Two scenarios:

1. if i switch from French (default language) to English on the product listing page, under the "Carte Cadeau" category, there is only one product showing

2. on French, I edit a carte cadeau product, then switch to English, like this one

hidden link

It says the product has been deleted (please see attached screenshot).

3. this is new, now when I'm on the product listing page, selected carte cadeau category, now it shows that the English is not translated (where it used to show all translated). BUT, when I click the "plus" sign, it takes me to the WPML editor to translate, then I click "complete translation", it says "success", but when I return to the listing page, it shows the "gear" icon for the English. So I guess the translation did not come back to the site successfully.

I think we are one step closer now, at least I can click the "plus" sign, but please advice how to get the translation back to the site please?

Thanks!
Gary

Screenshot 2024-12-21 at 10.30.01 AM.png
Screenshot 2024-12-21 at 10.36.51 AM.png
December 23, 2024 at 4:50 am #16539257

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi Gary,
Thank you for the update. Sorry for the delay in responding due to the weekend.

I'm glad to hear you're getting closer to resolving the issue. Regarding the "In-Progress" status, this typically appears when the translator exits the Translation Editor without saving the translation or completing any segments. It essentially indicates that the translation is still incomplete.

Could you please click on the "Gear" icon and, when the Translation Editor loads, check that the Translation Progress at the bottom shows 100%? If it doesn't, ensure the translation is fully completed at 100%, then save the changes.

If the issue persists even after that, please try the following steps.

- Please go to `WPML > Support > Troubleshooting`.
- Click on the following buttons:

-- Clear the cache in WPML
-- Fix element_type collation
-- Synchronize local job ids with ATE jobs
-- Synchronize translators and translation managers with ATE
-- Assign translation status to duplicated content
-- Set language information
-- Fix post-type assignment for translations

- Once done, please follow the instructions in this guide: https://wpml.org/faq/translation-status-stuck-or-displaying-the-error-wpml-didnt-manage-to-translate-this-page/
- Try to translate the page again and see if it is getting completed.

If the issue persists, please navigate to "WPML > Support > Advanced Translation Editor > Error Logs". Take a screenshot of that page, ensuring all columns and recent errors are clearly visible, and share it in your next response. I'll review it and provide further guidance.

Looking forward to your response and appreciate your cooperation in this matter.

Best regards,
Prosenjit

January 4, 2025 at 2:35 am #16562764

beverlyL

Hi Prosenjit,

Happy New Year. Thank you for the instructions, I've followed through, but unfortunately, the issue persists.

Here's the screenshot taken from the Error Logs.

Looking forward to your reply.

Thanks!
Gary

Screenshot 2025-01-04 at 10-31-26 Advanced Translation Editor Error Logs ‹ Girls in Paris — WordPress.jpg
January 6, 2025 at 5:04 am #16565068

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi Gary!

Happy New Year!
I hope you're doing well. Sorry for the delay in responding due to the weekend.

Thank you for trying the suggestion and sharing the ATE error log. From the log, I noticed an error indicating that the is_page_builder_page_filter() function is receiving a null value as an argument instead of the expected Post ID. This issue often arises due to ghost entries in the database.

Could you please try the following steps and check if they help resolve the issue?

- Please go to WPML > Support > Troubleshooting
- Click on "Remove ghost entries from the translation tables" and "Cleanup and optimize string tables"
- Clear the caches from your site and browser.
- Cancel the in-progress jobs by going to "WPML > Translation Management > Jobs" and then resend the page/post for translation.

If the issue persists even after that, a closer inspection will be required to understand the root cause of the issue.

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated.

You will find the needed fields below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please backup site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Looking forward to your response.

Best Regards,
Prosenjit

January 10, 2025 at 2:38 am #16580200

beverlyL

Hi Prosenjit,

Thank you so much for your help. The issue is now resolved.

Cheers
Gary