• Hello,
    We are trying to set a multilang site using the Polilang plugin.
    I have translated almost everything but tex text button of the checkout page.
    allways appear “Pagar” no matter if is in EN or ES.
    I think that text belongs to the WC_ePayco class:
    $this->order_button_text = __(‘Pagar’, ‘epayco_woocommerce’);
    Could you help me with this ?
    The basic idea is to make an if statement in the payment-method.php file: if ($lang = ‘es’){echo ‘Pagar’}else{echo ‘Place order’;}
    Thanks in advance

  • The topic ‘Translating chekout button text’ is closed to new replies.