WooCommerce: wrong translations on checkout page after refreshed by AJAX call
Question
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.
0
1 year
2021-11-02T03:28:14-05:00
2021-11-02T03:28:14-05:00 0 Answers
0 views
0
Leave an answer