Skip Navigation

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

Problem:
The client is experiencing an issue where the shop link does not point to the correct URL for each language on their multilingual site. The shop link defaults to the original Romanian translation instead of the expected URL.
Solution:
We recommend the following steps to ensure the shop link points to the correct URL for each language:
1. Check Store URLs:
- Navigate to WooCommerce > WooCommerce Multilingual > Store URLs.
- Check the Romanian translation of the Shop page slug.
- Click the "Pencil" icon and update the slug to your desired value (e.g., "shop").
- Save the changes.
2. Verify the Shop Page Slug:
- Go to Pages > All Pages in the Admin Dashboard.
- Use the language switcher in the top bar to switch to the Romanian language.
- Find the Shop page and click "Quick Edit" below the page name.
- In the edit window, ensure the slug is correctly set to "shop."
After implementing these steps, the shop page URL should display as expected. If this solution does not resolve your issue or seems irrelevant due to being 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 further assistance is needed, please open a new support ticket at WPML support forum.

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 1 reply, has 0 voices.

Last updated by chisR 6 months ago.

Assisted by: Prosenjit Barman.

Author Posts
January 7, 2025 at 10:23 pm #16571496

chisR

Background of the issue:
I am trying to have the shop link for each language assign the correct URL. I am able to see the correct URL for cart and checkout, but not for the shop. The issue can be seen at: hidden link
I use default wp theme twenty twenty five.

Symptoms:
The shop link from the top is linked to the original Romanian translation: hidden link instead of the expected URL: hidden link

Questions:
How can I ensure the shop link points to the correct URL for each language?
Why is the shop link not updating like the cart and checkout links?

January 8, 2025 at 3:34 am #16571936

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

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

Hi There!
Thanks for contacting WPML Support.

Before this thread gets assigned to my colleague, I'd like to offer some initial guidance or potential solutions.

The Shop page slug appears to have been translated, which is why it doesn't appear as expected. Please follow the steps below to resolve the issue:

1. Check Store URLs:
- Navigate to "WooCommerce > WooCommerce Multilingual > Store URLs".
- Check the Romanian translation of the Shop page slug.
- Click the "Pencil" icon and update the slug to your desired value (e.g., "shop").
- Save the changes.

2. Verify the Shop Page Slug:
- Go to "Pages > All Pages" in the Admin Dashboard.
- Use the language switcher in the top bar to switch to the Romanian language.
- Find the Shop page and click "Quick Edit" below the page name.
- In the edit window, ensure the slug is correctly set to "shop."

After making these changes, the page URL should display as expected. Feel free to let us know if you need further assistance. We'll be happy to help.

Best regards,
Prosenjit

January 8, 2025 at 6:43 am #16572153

chisR

I manage to fix it by manually changing the https links in the translation. Good tutorial https://wpml.org/documentation/getting-started-guide/translating-content-created-using-gutenberg-editor/translating-sites-that-use-full-site-editing/#translating-menus-in-site-editor-templates