Magento 2.4.7
Developing on local host , I have 2 languages ( English, French ) . in product detail page , I can switch to 2end language , however, I noticed, breadcrumb from Category > sub cat > ..etc
changes to Home > Product title
Clicking on back button on browser , will display 404 page not found . I have no idea why , it might be URL Rewrite ?
I think issue was the cookies. i reset the cookies and things are seems to be working for now
Hello @tonysargma79f8,
The issue you're experiencing with the breadcrumbs and 404 errors when switching languages in Magento 2.4.7 could indeed be related to URL rewrites or store view configurations.
Magento uses URL rewrites to manage SEO-friendly URLs for different store views and languages. Ensure that the URL rewrites are correctly configured for both English and French store views.
Ensure that the URL keys for categories and products are correctly translated and unique for each store view.
Breadcrumbs in Magento are generated based on the URL path and category hierarchy. If switching languages causes the breadcrumb to reset to "Home > Product Title," it might indicate that the product is not correctly associated with its categories in the secondary language.
Sometimes it is an issue of cookies too so clear the cookies and check again it should work.
If the issue will be resolved, Click Kudos & Accept as a Solution.