The issue I am facing, that I am using qTranslate-x and when I switch languages, the mini-cart (widget) stays cached in the wrong language. It is done by woocommerce, and the cart updates to correct language upon adding a new product.
So my idea is to force woocommerce to regenerate the cart. Is there any existing solution? If not, what would be the best way to approach this? Woocommerce stores the cart cache in browsers session storage. Since I have not worked with browser storage, no clear way to best approach this, without impacting end user or plugin functionality. I need to force this only when a user switches languages, I can add unique calls to only this action.