Skip Navigation

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

Problem:
The client is experiencing issues with translating the product permalink base in WooCommerce Multilingual & Multicurrency for multiple languages, resulting in blank URLs after translation.
Solution:
1. Navigate to WPML > String Translation.
2. Search for the product slug under the 'WordPress' domain and delete it by clicking the "Delete selected strings" button.
3. Go to WPML > Settings and scroll to "Post Type Translation".
4. Under the "Products" post type, expand the section to "Set different slugs in different languages for Products".
5. Add the desired slug for each language and save the changes.
6. Clear site caches to ensure the changes take effect and check if the issue persists.

If the problem continues or the solution provided here is outdated or not applicable 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 needed, 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.

This topic contains 7 replies, has 0 voices.

Last updated by jackZ-3 1 week, 1 day ago.

Assisted by: Prosenjit Barman.

Author Posts
November 6, 2024 at 10:31 pm #16374815

jackZ-3

Background of the issue:
I am trying to resolve configuration warnings in WooCommerce Multilingual & Multicurrency on my site hidden link. The issue involves translating the product permalink base to multiple languages including Arabic, French (Portuguese), Portuguese (Portugal), and Russian (Portugal).WooCommerce Multilingual & Multicurrency→Staus, show Configuration Warnings:
Your product permalink base is not translated to.

Symptoms:
The product permalink base is not translated to the specified languages, and the URLs are blank after the translation is completed.

Questions:
Why are the product permalinks not translating to the specified languages?
How can I resolve the issue of blank URLs after translation?

November 6, 2024 at 10:33 pm #16374857

jackZ-3

WooCommerce Multilingual & Multicurrency→Staus, show Configuration Warnings:
Your product permalink base is not translated to.
Arabic
French (portuguese)
Portuguese (portugal)
Russian (portugal)
Russian (portugal)
Translate URLs
However, the Product in the URLs cannot be translated successfully, and the URLs are blank after the translation is completed. Thank you for your help!

November 7, 2024 at 7:58 am #16375439

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

I understand you're having trouble translating the product base slug. Please try the following steps to see if they resolve the issue:

1. Go to "WPML > String Translation".
2. Search for the product slug. It should appear in the results under the 'WordPress' domain.
3. Select the string and delete it by clicking the "Delete selected strings" button.
4. After deleting, go to "WPML > Settings" and scroll to "Post Type Translation".
5. Under the "Products" post type, you’ll see an option to "Set different slugs in different languages for Products". Click to expand this section.
6. Add the desired slug for each language, then save the changes.

Please try this way and let me know if that helps in saving the slug. If you need further assistance in this matter, feel free to let me know. I'll be happy to help.

Best regards,
Prosenjit

November 7, 2024 at 8:30 am #16375535

jackZ-3

Thanks for your reply, I didn't find the product slug inside wordpress but found the product slug inside woocommerce, is it modifying it?
How to find the product slug in wordpress?

13.png
November 8, 2024 at 3:15 am #16380444

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,
Thank you for the update!

From the screenshot, I see that you've searched for 'product slug,' but I meant to search for the actual slug of the product, which in your case is 'product.' Simply search for 'product,' and you should see the slug appear in the results under the WordPress text-domain. Continue to follow the steps in the first response once you find the 'product' slug in the string translation list.

Please try and let me know how it goes. I'll be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

November 8, 2024 at 10:32 am #16381595

jackZ-3

Thank you very much for your reply, I didn't find the product slug string in wordpress but I found it in woocommerce, do I need to follow the steps in your first reply?
Do I need to remove the slug string product from woocommerce?Remove the circled slug from the new image?Then perform the following steps?

4. After deleting, go to "WPML > Settings" and scroll to "Post Type Translation".
5. Under the "Products" post type, you’ll see an option to "Set different slugs in different languages for Products". Click to expand this section.
6. Add the desired slug for each language, then save the changes.

14.png
November 8, 2024 at 4:41 pm #16382940

jackZ-3

Thank you very much for your reply. The "product" has been translated, but now it's prompting me:
Your product permalink base is not translated to:
Arabic
French
Portuguese (portugal)
Russian
Spanish

Because the blank has not been translated, how is this blank going to be translated to completion? Please check the picture for details, thanks!

15.png
November 11, 2024 at 4:12 am #16386476

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
I hope you're doing well. Sorry for the delay in responding due to the weekend.

Thank you for the update! I’m glad to hear that the Product base slug has been successfully translated.

If the Product base slug is translated, the previous warning should no longer appear. The warning you’re currently seeing in the status section might just be a temporary notice due to caching.

Could you please clear the caches from your site and then check again?

Regarding the attribute base slug translation, please note that WooCommerce does not add an attribute slug by default. The way you’re seeing the attribute base slug is expected and cannot be translated. This should not trigger any warnings or issues in the WooCommerce Multilingual status section.

I hope you can understand. Feel free to let me know if you need further assistance or clarification. I'll be happy to help.

Best regards,
Prosenjit

November 11, 2024 at 9:08 am #16387450

jackZ-3

Thank you so much for your reply, my problem has been solved, you're fantastic, have a great day!