Skip Navigation

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

Problem:
You are configuring links for your site using WooCommerce/WooCommerce Multilingual & Multicurrency/Shop URL and have translated the slug of the shop, category, and product. However, the product SLUG shows the default language SLUG in every language, despite the settings, while the shop and category SLUGs work correctly in any language.
Solution:
1. Go to WPML → String Translation and delete the product slug from the String Translation.
2. Navigate to Settings → Permalinks and resave the page.
3. Return to WPML → String Translation and translate the product slug again.
If the issue persists, try deactivating all plugins except WPML, WooCommerce Multilingual, and WooCommerce to check for any conflicts. Additionally, switch between the options

Translatable—only show translated items

and

Translatable—use translation if available or fallback to default language

for Products in WPML → Settings → Post Types Translation to see if it resolves the issue.

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 problems persist, please open a new support ticket at WPML support forum for further assistance.

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.

No supporters are available to work today on this forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

This topic contains 10 replies, has 2 voices.

Last updated by Andrey 4 weeks ago.

Assisted by: Andrey.

Author Posts
October 15, 2024 at 12:01 am #16288095

patrykP-6

<b>Background of the issue: </b>
I'm currently configuring links for my site under development using WooCommerce/WooCommerce Multilingual & Multicurrency/Shop URL. I translated the slug of the shop, category, and product and saved the changes. I use RankMath SEO.

<b>Symptoms: </b>
The SLUG of the products shows the SLUG from the default language in every language, despite the settings. The SLUG of the shop and category works in any language.

<b>Questions: </b>
Why does the product SLUG not change according to the language settings?
Could the issue be related to not having added a translation of the product yet?

October 15, 2024 at 7:29 pm #16292430

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

Thank you for contacting WPML support.

The screenshot you provided shows the translation of the product-category slug but not the product slug.

Have you attempted to check the translation of the product slug in WPML → String Translation?

October 15, 2024 at 10:17 pm #16292743

patrykP-6

Yes, they are the same as in the "WooCommerce Multilingual & Multicurrency/Shop URL" tab

At least after searching for the phrase "produkt"

That is SLUG

Polish (default) - produkt
English - product
Romanian - produs
Ukrainian - продукт

The categories here and in the "WooCommerce Multilingual & Multicurrency/Shop URL" tab are also translated and they work

October 16, 2024 at 7:19 am #16293506

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

Thank you for your feedback. Have the issues been resolved?

October 16, 2024 at 9:34 am #16294473

patrykP-6

No, the product SLUG still doesn't work.

What I meant is that they have the same settings as in the WooCommerce Multilingual & Multicurrency/Shop URL tab, but they still don't work. Only the product categories and the shop page work correctly.

Now I noticed that even though the attributes are translated, they also have the default language SLUG, not the translated one

October 16, 2024 at 9:45 am #16294577

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

Thank you for your feedback. Please follow these steps:

1. Go to WPML → String Translation and delete the product/ slug from the String Translation.
2. Go to Settings → Permalinks and resave the page.
3. Return to WPML → String Translation and translate the product/ slug.

If the issue persists, try deactivating all plugins except WPML, WooCommerce Multilingual, and WooCommerce to check for any conflicts.

October 16, 2024 at 10:04 am #16294678

patrykP-6

I did what you said, even 2x and disabled all other plugins, but the problem still exists.

What I noticed is that when I remove translations and go to direct links, the "product" whose name is Polish is set to English by default - maybe that somehow creates a problem?

Of course, before saving, I set it to be Polish

October 16, 2024 at 10:06 am #16294699

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

What I noticed is that when I remove translations and go to direct links, the "product" whose name is Polish is set to English by default - maybe that somehow creates a problem?

You can try to adjust this and check the results.

If still the problem, I need to request temporary access (wp-admin and FTP) to your site—preferably to a test site where the problem has been replicated if possible—in order to be of better help. When you log in to leave your next reply, you will find the needed fields below the comment area. The information you will enter is private, meaning only you and I can see and access it.

October 16, 2024 at 7:53 pm #16297701

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

Thank you for your feedback.

I have checked the problem you reported, and it seems to be working now. Can you please verify this?

I have switched once back and forth between the options " Translatable—only show translated items" and "Translatable—use translation if available or fallback to default language" for Products in WPML → Settings → Post Types Translation.

October 18, 2024 at 11:31 am #16304149

patrykP-6

Yes, thank you ! now it all good 🙂 But i have a question. How can i delete this post or delete one picture where is link to my site? Since I thought it was only for support, I don’t want to share my link

October 18, 2024 at 12:00 pm #16304590

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

Thank you. I have removed screenshots and any links that point to your website. Have a nice weekend ahead 🙂

October 18, 2024 at 12:04 pm #16304623

patrykP-6

Thank you too 🙂