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

Last updated by marcoP-130 1 year, 3 months ago.

Assisted by: Lauren.

Author Posts
April 9, 2024 at 2:44 pm #15499983

marcoP-130

I am trying to: view the category "Powerstations" in French, or any other language other than English.

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

I expected to see: hidden link

Instead, I got: hidden link

When i select French or any other language from the homepage, and then go to Store (Magasin) and then select "Stations Electriques/Batteries d' Expansion", and then select "Centrales Electriques" it sends me to this URL:

hidden link

This url is not correct, and i get a message saying "This page is not found"

The correct url should be:

hidden link

(/categorie-produit/) is the correct slug. If i'm using the website in English, and go to the "Powerstation" category, and then swith to French from there, everything is correct.

This issue only happens when i select any language other than English starting from the homepage.

I have checked the "Categories" tab on "Woocommerce Multilingual & Multicurrency" and everyhing is correctly translated.

I have also tried to disable all pulugins and keeping only the necessary ones and the issue still persists.

Please help finding a solution

April 9, 2024 at 4:55 pm #15500420

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Thank you for contacting WPML support. I'll be happy to help you with this.

How are you inserting these categories into the page? Are you using a shortcode, a page builder, a template, etc?

Also, please take a look at WPML -> String Translation. If you search for /categorie-produit/ or /categoria-produit/ and check the box to include translations, do you see any results? if you see /categoria-produit/ anywhere, try changing it to /categorie-produit/ and then resave permalinks and clear cache. Does this make any difference?

April 9, 2024 at 5:16 pm #15500677

marcoP-130

These categories are being inserted natively on wordpress. (under Producrs, Categories)

I found this (see printscreen below)

I tried to edit the french one to "categorie-produit/&product_cat%", still not working

wpml_french.png