Change language on Shop
-
Hi,
I find a bug, when you stay on the shop online (woocommerce) and you try to change language, the “link” is disabled. If you go to other page, the language is possible to change it, but on the woocommerce page not.
The code that appears on other pages is correct:
<li class="sublanguage active_language menu-item menu-item-type-custom menu-item-object-custom current-menu-item menu-item-has-children dropdown menu-item-645"> <a data-test="joie" href="https://www.myweb.es/mypage/"> ES <strong class="caret"></strong> </a> <ul class="dropdown-menu" style="left: -95.3906px;"> <li class="sublanguage inactive_language menu-item menu-item-type-custom menu-item-object-custom menu-item-647"> <a href="https://www.myweb.es/en/mypage/">EN</a> </li> </ul> </li>
But if you go to the woocommerce and you try to change language the code is:
<li class="sublanguage active_language menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children dropdown menu-item-645"> <a data-test="joie" href="#"> ES <strong class="caret"></strong></a> <ul class="dropdown-menu" style="left: -95.3906px;"> <li class="sublanguage inactive_language menu-item menu-item-type-custom menu-item-object-custom menu-item-647"> <a>EN</a> </li> </ul> </li>
If you go to other page and change language and you go to the shop, you find the shop translated but if you try to change language on the shop is not working. Because how do you see on the code, the “a” tag it doesn’t have attribute “href” it disappears
Thanks!
- The topic ‘Change language on Shop’ is closed to new replies.