Skip to content Skip to sidebar

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

Last updated by David García 1 month ago.

Assisted by: David García.

Author Posts
March 16, 2026 at 1:50 pm #17900628

dominicT-10

Hello,

I am experiencing an issue with WPML + WooCommerce + the Woodmart theme (Layout Builder) where product category links switch to the default language.

1.Environment
* WordPress
* WooCommerce
* WPML (Multilingual CMS + WooCommerce Multilingual)
* Woodmart theme
* Woodmart Layout Builder enabled

2. Problem description
When browsing the product categories in the French version of the site, the category archive page itself loads correctly and displays the expected translated structure. Inside this page there is a grid of subcategories generated through a WooCommerce category query.

The issue appears when interacting with the (after) 3rd subcategories in that grid. When hovering over or clicking a subcategory, the URL generated for that category points to the default language version of the taxonomy instead of the French one.

In other words, the page the user is currently viewing belongs to the French category hierarchy, but the links produced for the child categories are generated using the default language category base and default-language slugs.

As a result:
The category archive page itself is correctly displayed in French.
The taxonomy structure is translated.
However, the subcategory links generated within the grid resolve to the default language taxonomy path.

3. Important details
* Categories are translated and linked correctly.
* Product category base is translated (`categorie-produit`).
* Permalinks have been flushed.
* WPML troubleshooting tools were executed.
* WooCommerce product lookup tables were regenerated.
* Caches have been cleared.

The problem occurs starting from the second / third level of the category hierarchy.

Category structure:
A.
A.a.
A.a.a. (after this category, happens the problem)

The same in French version.

Thank you.

March 16, 2026 at 3:53 pm #17901254

David García
Supporter

Languages: English (English ) Spanish (Español )

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

Hi Dominic,

I need to examine this more closely.

We have 2 options:
- You can share access details to your site with me.
- Or we can try to reproduce from scratch on a sandbox site that I will provide.

What do you prefer?

If you choose to share access, let me know and I will make your next reply a private one.

If on the other hand, you would like to reproduce from scratch, I will create a sandbox site and share access details with you.

Let me know.
David

March 16, 2026 at 4:05 pm #17901287

dominicT-10

Hi David, I will give you access with temporary login without password...

hidden link

March 16, 2026 at 4:23 pm #17901308

David García
Supporter

Languages: English (English ) Spanish (Español )

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

Thanks, this will help me re-create the problem on my local server to debug in depth.

I will get back to you as soon as I find more information.

March 16, 2026 at 6:24 pm #17901450

David García
Supporter

Languages: English (English ) Spanish (Español )

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

I followed the particularities of your setup to try replicating your issue on a local fresh install, without success so far.

I have also tried going several categories deep on your site but I didn't find the issue you describe. For example:
hidden link

Could you point me to a specific URL where I can see the problem on your site?

March 16, 2026 at 6:48 pm #17901499

dominicT-10

Please check the screenshots or you can find a video in this link: hidden link

1 (1).jpg
4.png
3.png
2.png
March 17, 2026 at 9:23 am #17903178

David García
Supporter

Languages: English (English ) Spanish (Español )

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

Thanks, that helps. I'm working on it.

March 17, 2026 at 11:28 am #17903982

David García
Supporter

Languages: English (English ) Spanish (Español )

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

I can see it now.

I tried replicating your exact situation from scratch:
- Setting WoodMart layouts as translatable
- Creating a layout for a specific category and translating it
- Manually adjusting the conditions for the translated layout

These steps are working for me.

Can I take a duplicator package to figure the difference with your setup?

March 17, 2026 at 12:13 pm #17904502

David García
Supporter

Languages: English (English ) Spanish (Español )

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

FYI: While I get your approval, I installed a plugin to examine the database. I will remove when I'm done.

March 17, 2026 at 1:49 pm #17904832

dominicT-10

Okey, go on. Do I need to do any backup? Thank you for your help.

March 17, 2026 at 2:11 pm #17904892

David García
Supporter

Languages: English (English ) Spanish (Español )

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

Thanks.

I will effectively be doing a backup to restore locally.

So I would say there is no need for you to make another backup.

March 17, 2026 at 5:20 pm #17905702

David García
Supporter

Languages: English (English ) Spanish (Español )

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

Perfect, I have been able to replicate the issue local.
Now I can debug properly and suggest a way forward.
I'll get back to you shortly.

March 17, 2026 at 7:38 pm #17905848

dominicT-10

Ok Thanks

March 18, 2026 at 1:15 pm #17908177

David García
Supporter

Languages: English (English ) Spanish (Español )

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

I won't be able to reply until tomorrow.
I'll be on it first thing in the morning.

March 18, 2026 at 1:34 pm #17908287

dominicT-10

Okey. Thanks you.