-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Woocommerce - Cart widget not translated on language change #803
Comments
Another issue with the cart: #645 but this looks like different problems. |
Confirmed, although I'd consider it low priority. The likelihood of a user switching languages only when they've reached the cart is pretty low, although not impossible of course. |
Hi i found fix for this in github @pjrobertson it fix this issue in WooCommerce like cart and checkout i test it it work with q-translate x |
In case someone has the same problem and has WPML as translation plugins... This code simply forces the reloading of the fragments if the language is different from your new variable
If you use another plug-in, find where that plug-in saves the current language in javascript (they usually do). |
"Cart widget": seems to be stored in sessionStorage, so a change of language won't be applied to this widget content, which will be still shown in the previous language. Modifying the cart content fixes the content language to current.
The text was updated successfully, but these errors were encountered: