I hope you’re doing great. A late very happy new year I wish for you.
Getting back on track, I noticed this behavior change since you separated the Front End from the Admin Side translations.
When there’s an Ajax call, these sessions seems to be treated as if they were admin side sessions, maybe because they call the admin-ajax.php or maybe it’s something else.
I remember this wasn’t the case at least up until PLL 1.1.6.
I’ll just mention an example of a string which is part of a server reply:
$cart_messages = str_replace( "[product_name]", $cart_item->get_title(), __( 'You just added "[product_name]" to your cart.', 'wpsc' ) );
You’ll get the “You just added…” message sent to the browser instead of the translated version.
It’s not a show stopper, so it can wait.
Thank you in advance, Chouby.
- The topic ‘During Ajax calls, the server only responds with default language strings’ is closed to new replies.