WooCommerce: wrong translations on checkout page after refreshed by AJAX call
I have multi-language shop based on WooCommerce. For translations I’m using Polylang plugin.
The problem I am struggling with is on Checkout page in payments method section. On page init translations are correct, but after AJAX call (wc-ajax=update_order_review) texts are translated again to original language (English).
I found in DevTools that in Request Header from wc-ajax=update_order_review it is always set pll_language=en in cookie.