Support » Plugin: Sublanguage » Content not translated on update cart woocommerce

Viewing 1 replies (of 1 total)
  • /*retrive with cookie*/
    global $sublanguage;
    /*lang cookie*/
    var d = new Date();
    var expire = new Date(d.getFullYear(), d.getMonth(), d.getDate(), d.getHours()+2, d.getMinutes());
    document.cookie = “lang=<?php echo $sublanguage->current_language->post_name; ?>; expires=”+expire+”; path=/”;

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.