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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by Long Nguyen 1 year, 6 months ago.

Assisted by: Long Nguyen.

Author Posts
June 21, 2023 at 3:13 am #13863633

peterJ-48

Hello,

After run this query ( DELETE FROM `www0_icl_translations` WHERE `element_type` = 'tax_product_shipping_class'; ), we face issue in the breadcrumb, The Yoast Breadcrumb not showing translation product.
Product Link : hidden link

June 21, 2023 at 3:27 am #13863641

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I don't think after running the query to delete the shipping class in the table icl_translation can cause this issue because the breadcrumb on your product page is the product category, not the shipping class.

Please go to Yoast SEO > Settings > Advanced > Breadcrumb > Re-save settings for Product breadcrumb and check this issue again.

If it does not help, can you please replicate the issue on your dev site and share the credentials (wp-admin and FTP). I will take a closer look.
Your next reply is set to private to share the info.

❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: 
https://wordpress.org/plugins/duplicator/

Look forward to your reply.
Thanks

June 23, 2023 at 3:57 am #13881571

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

The issue happens because the hierarchy of the product categories in the second languages is not correct. I fix the issue by going to WPML > Taxonomy Translation > Select Product Categories > Hierarchy Synchronization tab > Sync.
And go to Products > Edit the product > Click on Update > Update the translation.

Can you please confirm it works on the dev site?

Look forward to your reply.
Thanks

June 26, 2023 at 8:11 am #13892901
peterJ-48

Hello Long Nguyen,

I have been testing this but that are currently not showing correct breadcrumbs, but this is unfortunately not a final solution, and it will take a lot of time.

1) In previous versions of WPML we have synchronised product categories from WooCommerce > WooCommerce Multilingual & Multicurrency > Categories > Hierarchy Synchronization
It is of course no problem to do this from: WPML > Taxonomy Translation > Select Product Categories > Hierarchy Synchronization tab > Sync.
But I believe both ways are intended to lead to the same result.

2) Even though product categories have been synchronised as described in point 1, it is still a problem that when you translate a new product in an existing category (that has been translated and synchronised), It appears to be random whether the translated copies of the product are placed in the product category and showing the right breadcrumbs. This can then again be fixed by updating the product and updating the translation.

3) Product categories are translated automatically with the first product. When translated this way the category pages are also not showing the breadcrumbs (This is also the case after the product categories has been synchronised). This can be solved by resaving each translation of the product category. However, this must also be a bug.

4) In the English language (our base language) the word “home” in the breadcrumbs is taken from a wrong language and it appears to be random. Currently on our production server it says “Dom” (this is Polish for home) and on our staging server it says “Heim” (this is German for home)
examples:
hidden link
hidden link

New threads created by Long Nguyen and linked to this one are listed below:

https://wpml.org/forums/topic/split-yoast-seo-breadcrumb-does-not-work-on-translation-page/

June 26, 2023 at 9:24 am #13893783

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

2. I do not see that issue on your site, I've tried to create a test product and see the translation product category display in breadcrumb as well.
hidden link

3. It looks like another issue with Yoast breadcrumb for the product category, not the product. I will split this ticket into a new one for better handling. Here is the ticket URL https://wpml.org/forums/topic/split-yoast-seo-breadcrumb-does-not-work-on-translation-page/

4. It's the anchor text for the homepage, you can find it in Yoast SEO > Settings > Advanced > Breadcrumb. Please check this screenshot hidden link
Then you can go to WPML > String Translation, to translate this text.

Look forward to your reply.
Thanks

The topic ‘[Closed] Yoast SEO breadcrumb does not work on translation page’ is closed to new replies.