syccylinders on "[Plugin: Sublanguage] 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="http://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="http://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!

https://wordpress.org/plugins/sublanguage/

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 301 تاريخ : پنجشنبه 14 مرداد 1395 ساعت: 19:26