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.

Tagged: 

This topic contains 8 replies, has 2 voices.

Last updated by Marsel Nikolli 1 year, 1 month ago.

Assisted by: Marsel Nikolli.

Author Posts
April 8, 2024 at 1:59 pm #15494623

marcoP-130

I am trying to: Check the category "Powerstations" in French.

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

I expected to see: The list of powerstations in French language.

Instead, I got: "This page is not found". When i select English as usual, and then go to the category "Powerstations" and switch to Frech, everything is ok. But, if i select French on the homepage and then navigate to the "Powerstation" category, there is an error. By the way, this is happening on all languages other than English.

wpml.png
April 8, 2024 at 4:27 pm #15495502

Marsel Nikolli

Hi,

Thank you for contacting WPML Support, I will gladly help you.

I've checked your website by going to homepage, switching randomly from language to language, and opening the category "Powerstations" (from the products on homepage), and I noticed that the correct URL for the French category is:

hidden link

---

I wasn't able to access anywhere from the website the link you shared: hidden link

I tried following the steps you mentioned in your reply and it seems that "categoria-producto" doesn't exist in French, it is "categorie-produit".

Please check the category slug translations on your end and let me know if I am missing any steps or instructions on how to reproduce the issue (except by using the link you shared).

Looking forward to your reply,
Marsel

April 8, 2024 at 4:36 pm #15495543

marcoP-130

If you go to the homepage, and then select the French language, and then select "Stations Electriques" as shown in the 1st screenshot, and then select "centrales Electriques" (2nd screenshot) there is an error and url i get is this: hidden link

(In which "categoria-producto" does not exist in French.

Same for other languages, from the homepage.

wpml_2.png
wpml_1.png
April 8, 2024 at 4:53 pm #15495587

Marsel Nikolli

Thank you for the update.

I was able to check referring to your instructions and I noticed that the other categories have the same problem as well, it seems that the slug "categoria-producto" doesn't exist.

Please check that the category slug is translated correctly by going to WP-Admin -> WooCommerce -> WooCommerce Multilingual & Multicurrency -> Categories tab.

April 8, 2024 at 5:03 pm #15495608

marcoP-130

It is correctly translated, i will attach a picture.

To fully understand the issue, if you choose English on the homepage, and navigate to "Powerstations" and switch language while inside the "Powerstations" category to French for example, it shows everything correctly, and the url is the corect one (categorie-produit).

This issue only happens when i choose any language starting from the homepage. If you do this, once you get to the "Powerstations" category this issue occurs.

wpml_category.png
April 8, 2024 at 5:18 pm #15495663

Marsel Nikolli

I would need temporary access to your site's WP-admin to investigate this issue and understand it better, please create an administrator user using any email address you prefer.

Please fully back up your site (files and database) and confirm it in your next reply.

Your next reply is set to private for you to provide the username and password details.

Thanks,
Marsel

April 9, 2024 at 11:01 am #15498588

Marsel Nikolli

Hi,

Thank you for the access, I was able to check and would it be possible to check if the issue happens in a minimal setup, that meaning:

- keep the theme you have
- keep active only WPML Plugins, WCML plugins, and must-have plugins
- disable all other plugins

After, check if the issue is still happening.

This would help check if there is any plugin conflict causing the issue.

Note: Please make sure you have a full backup (files & database) before trying anything on your website.

* I would suggest checking in a staging site if possible.

Let me know how it goes.

April 9, 2024 at 11:18 am #15498747

marcoP-130

I just deactivated all the possible plugins and the issue is still happening.

Please help to find a solution.

April 9, 2024 at 12:05 pm #15499066

Marsel Nikolli

Hi,

To further troubleshoot the issue I set up a sandbox site where I would require you to try to reproduce the issue, link to sandbox below (one-click-login):

hidden link

Please on the sandbox:

- upload only the necessary theme/plugin to reproduce the issue
- WPML and WCML plugins and WCML are already active, set them as on your website

* Please do not import your website, just add a few products and categories as in your website and try to reproduce the issue.

Let me know if you need help with the sandbox site,
Marsel