Skip Navigation

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

Problem:
The client is trying to translate all products, categories, and attributes in WooCommerce but is facing issues with the category hierarchy not displaying correctly, although it works mostly fine in the German version.
Solution:
If you're experiencing similar issues with category hierarchy in WooCommerce when using WPML, we recommend following these steps:
1. Take a database backup.
2. Navigate to WPML -> Support -> Troubleshooting.
3. Run the functions one by one. For guidance, see this screenshot.
4. Go to WooCommerce Multilingual -> Categories tab.
5. Synchronize the categories.
6. Clear the cache and check the categories page on the front end.

Please ensure you backup your database before performing the above steps.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, 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 further assistance is needed, please open a new support ticket at 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.

Tagged: 

This topic contains 5 replies, has 3 voices.

Last updated by Osama Mersal 6 months, 1 week ago.

Assisted by: Osama Mersal.

Author Posts
May 22, 2024 at 2:07 pm #15658795

georgiT-5

I am trying to: We want to translate all the products, categories, attributes etc.

Link to a page where the issue can be seen: hidden link Or hidden link

I expected to see: We have more than one product in eatch categorie

Instead, I got: When we checked the categories in woocommerce we dont get the hierarchy as it needs to be. The funny thing is that we have a DE version. It works mostly fine but we did the De version along time ago.

Screenshot 2024-05-22 170628.png
Screenshot 2024-05-22 170602.png
May 22, 2024 at 9:32 pm #15659826

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

Thanks for contacting us.

Before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

Could you please follow the below steps and let me know how it goes:

1. Please take a backup of your site first for safety reasons.

2. Please Go to Woocommerce >> Woocommerce Multilingual >> Settings tab >> Troubleshooting link (bottom right) > Select the below options:

- Sync products variations
- Fix translated variations relationships

And click on the 'Start' button.

3. If still an issue persists, please try the below steps:

3.1. Please go to WPML >> Support >> Troubleshooting page and press the below buttons:
- Clear the cache in WPML
- [Products] Synchronize posts taxonomies
- Synchronize local job ids with ATE jobs
- Synchronize translators and translation managers with ATE
- Assign translation status to duplicated content
- Set language information

4. If the above steps don’t help, then please try to re-save one of the problematic products in default and secondary languages and see if this resolves your issue.

Thank you, please let us know
Mateus

May 23, 2024 at 8:29 am #15661311

georgiT-5

Hello. Thanks for the suggestions but they didn't fix my problem.
We don't have the relations between main categorie and the sub-categories.
I can provide an account is you need to check what im talking about.
I will provide 2 images on the same product and you can see that the hierarchy is missing.
On the bulgarian version you can see the clear hierarchy in the categories.
On the english version that is missing.
After the translation all the categories are main and that is not right.

Screenshot 2024-05-23 112841.png
Screenshot 2024-05-23 112658.png
May 23, 2024 at 12:11 pm #15662786

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I'm Osama from WPML forums support. I'll be glad to help you today.

Please check the following steps:

1- Take a database backup
2- Go to WPML-> support-> Troubleshooting
3- Run the functions one by one (Kindly check this hidden link)
4- Go to WooCommerce Multilingual-> Categories tab
5- Synchronize the categories
6- Clear the cache and check the categories page on the front end

❌ Please backup your database before performing the above steps ❌

Best regards,
Osama

May 23, 2024 at 12:32 pm #15662942
georgiT-5

Well the stepst didn't fixed the problem but the option Hierarchy Synchronization did.
I have one more question about a string.

The img that is shown is an english version of a product. The string for the shipping is in BG. We did translate it in the String translation but no luck. We tried the automatic string scanning, still nothing.

New threads created by Osama Mersal and linked to this one are listed below:

https://wpml.org/forums/topic/translating-the-shipping-string/

Screenshot 2024-05-23 152954.png
May 23, 2024 at 12:43 pm #15663014

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

1) It's great to hear that the issue is fixed. 🙂 . Please don't hesitate to open a new ticket if you face any other issues. We are always happy to help you.

2) We try to keep one issue per ticket in our forum. Continuing with one ticket per issue helps supporters focus on one issue at once and enables other users to find solutions to their questions faster.

Therefore, I've split the other issue and created a new ticket with this issue. (https://wpml.org/forums/topic/translating-the-shipping-string/)

Best regards,
Osama

May 23, 2024 at 12:57 pm #15663046

georgiT-5

Great the main problem was fixed.