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.

This topic contains 4 replies, has 2 voices.

Last updated by Prosenjit Barman 1 year, 7 months ago.

Assisted by: Prosenjit Barman.

Author Posts
October 10, 2023 at 8:22 am #14547253

Michel

I have a website that is translated in 2 languages using WPML. If i go to for example the Danish website to the shop section: hidden link and we look at the breadcrumbs then part of the breadcrumbs are not translated in Danish and for the products breadcrumbs it still links to the original English shop. I have tried translating Products with the String Translation which also didn't work and i have tried updating the shop page store url but that didn't work. The shop page is translated in both Danish and German using WPML: hidden link

So my question is: how to i translate and edit the link in the breadcrumbs of woocommerce using WPML?

Scherm­afbeelding 2023-10-10 om 10.20.09.png
October 10, 2023 at 10:36 am #14548785

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

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

Hello There,
Thank you for contacting WPML Support.

I understand the issue you're having and will try my best to assist you in this matter.

The Shop title and link may not appear correctly in the Breadcrumb due to not configuring the shop page slug properly. Could you please try the instructions mentioned in the guide below and check if that helps to solve the issue?

- https://wpml.org/faq/visiting-product-breadcrumb-including-shop-link/

Please let me know the update. I will be happy to help if you need further assistance in this matter.

Best Regards,
Prosenjit

October 10, 2023 at 2:43 pm #14551595

Michel

Hi,

Thanks for your response. I followed the guide you recommended and i came one step closer.
Currently on for example the Danish version the breadcrumbs are as follows:

Home > Products (still english shop) > Shop (Danish shop) > Lanterner > Stearinlys i gaveæske

How do i get rid of the English shop in the breadcrumbs?

In the appendix i will provide a couple of screenshots with it is setup right now.

Scherm­afbeelding 2023-10-10 om 10.20.09.png
Scherm­afbeelding 2023-10-10 om 16.42.53.png
Scherm­afbeelding 2023-10-10 om 16.42.28.png
October 10, 2023 at 2:50 pm #14551709

Michel

Sorry i provided the incorrect photo of the breadcrumbs. Here is the correct one

Scherm­afbeelding 2023-10-10 om 16.50.07.png
October 11, 2023 at 8:29 am #14556539

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

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

Hello There,
Thank you for trying out the suggestions.

I've noticed that the Shop page appears twice in the Breadcrumb. Has the breadcrumb section been custom-coded? If that's the case, it's possible that the translation support hasn't been implemented yet which is mainly causing the issue. To be more precise, you'll need to specify which shop page should display based on the language code.

You can check the Hook below that can help to display the content as per the active language.

- https://wpml.org/wpml-hook/wpml_current_language/

But if that is not the case, please share more details about how the breadcrumb is added. I will check and try my best to solve the issue for you.

Looking forward to your response.

Best regards,
Prosenjit