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.

We have a longer than usual waiting time. Please make sure to check out the Known Issues page and Minimum Requirements before reporting any issue.
Sun Mon Tue Wed Thu Fri Sat
9:00 – 15:00 9:00 – 15:00 9:00 – 15:00 9:00 – 15:00 9:00 – 15:00 - -
- - - - - - -

Supporter timezone: Asia/Yerevan (GMT+04:00)

This topic contains 4 replies, has 0 voices.

Last updated by jackZ-3 18 hours, 27 minutes ago.

Assisted by: Christopher Amirian.

Author Posts
November 12, 2024 at 11:20 pm #16394909

jackZ-3

Background of the issue:
I am trying to translate my website from English to French, Spanish, Portuguese, Arabic, and Russian using WPML. My website is hidden link.
Is the reason because I translated all the product-categories into other languages? Should it be in English here? Can't show catégorie-produit for example?
You can check these French, Spanish, Russian, Portuguese, Arabic, etc. product pages are showing 404 page not found. hidden link

Symptoms:
Translated product pages show a 404 page not found error. Additionally, one or more WooCommerce pages have not been created.

Questions:
What can I do to resolve the 404 error on translated product pages?
How can I ensure all necessary WooCommerce pages are created?

November 13, 2024 at 12:19 pm #16397495

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Let's address the Woocomemrce pages installation issue first. In the screenshot you provided you have the option below the message called "Install Woocomerce Pages" and follow the steps mentioned there.

After that please make sure you have a backup of the website and do as follows:

- Go to WordPress Dashboard > Woocommerce > Woocomemrce multilingual & Multicurrenct > Status (tab)
- Scroll down and click the troubleshooting link.
- Select all the options there and click the start button to finish the steps.

Make sure you have a backup of the website before following the steps above.

Get back to us with the result for the pages of Woocomemrce which is the cart page and checkout page and see if they are translated.

After that we will check for the categories.

Thanks.

November 13, 2024 at 12:56 pm #16397684

jackZ-3

Thank you for your reply, Woocomemrce missing accessories because I deleted the page? Since mine is a B2B site, I deleted the Cart page, Checkout Page, and My Account Page because I don't use them. Is this the reason? Do I need to restore these pages?

See the new pictures, thank you

23.png
November 14, 2024 at 8:04 am #16400952

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

I see, as Woocommerce Multilingual & Multicurrency plugin needs to have those pages please keep them as it is for now and I see that those are translated because there is a pencil icon showing next to them in the screenshot you provided.

So all is good regarding the Woocommerce page warning.

Now regarding the product pages, one thing that I see is the link contains a URL that has a special character: catégorie-produit

That might be the problem cause, please go to WordPress Dashboard > Woocommerce > Woocommerce Multilingual & Multi-currency > Categories (Tab) and scroll down to see the "Translations of taxonomy Category labels and slug" section.

Click on the slug item and make sure that the French translation does not have special characters for example: categorie-produit

After that:

- Go to "WordPress Dashboard > Settings > Permalinks".
- Click the "Save" button to flush the permalinks cache.

See if it fixes the issue. If not, please test if the same thing happens (404 error on translated products) if you use minimal installation:

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except WPML and its add-ons.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.

If the issue persists, following the steps above, I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.
It is absolutely important that you give us a guarantee that you have a backup so if something happens you will have a point of restore.

Make sure you set the next reply as private.

Also, we will need your permission to copy the website to our server for more investigation if needed.

Thanks.

November 17, 2024 at 10:04 am #16411521

jackZ-3

Thanks for the reply, how do I set up a private reply? Thank you.

November 17, 2024 at 1:40 pm #16411754

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there should be a private checkbox below the reply box for you to cehck