• Resolved rikofert

    (@rikofert)


    Hi,

    after having introduced “Checkout Page Button Label” setting in the plugin configuration page, Paypal Express payment button in the checkout page is not translated any more by WPML.

    Can you please verify line #156 in wc-gateway-paypal-express-angelleye.php file?

    Regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • doly77

    (@doly77)

    Hello,

    Same problem if I make a .PO file, the translation of the button in the checkout page labelled “Proceed to Paypal” doesn’t work. In the previous version it worked.

    Edit: I find it, the update put back the default labels in the plugin setting.

    • This reply was modified 6 years ago by doly77.
    Thread Starter rikofert

    (@rikofert)

    Hi,

    from my side I still need to replace line #156 in file classes/wc-gateway-paypal-express-angelleye.php from:

    $this->checkout_button_label = $this->get_option('checkout_button_label', __(Proceed to PayPal, 'paypal-for-woocommerce'));

    to

    $this->checkout_button_label = __($this->get_option('checkout_button_label'), 'paypal-for-woocommerce');

    If I do not, even with last update (1.5.3), WPML is not going to translate checkout button label .

    Plugin Contributor angelleyesupport

    (@angelleyesupport)

    Hi @rikofert,

    I’m sorry for the trouble but I just tested this on my sandbox site. Its translating perfectly without any issues. Please see this=> https://prntscr.com/lfda0p.

    I believe you may have some old .pot or .po files. Can you delete the plugin completely, remove the already stored .pot file after that installed Paypal for woo 1.5.3 then use string translation by WPML to translate the paypal for woocomerce strings to which so ever language you need.

    Are you sure you have configured WPML the right way? Please check the config and also write on WPML support as well and see if they have something to share on this?

    @doly77 , I have also tested this with locotranslate, search for the string in .po file, added the string I wanted and that also worked just fine. Can you also do what I have said in the first paragraph above and see if that makes any difference?

    let me know if you have any other questions or concerns.
    Thanks!

    Thread Starter rikofert

    (@rikofert)

    Hi Oliver,

    thanks for support, resetting all related string translations fixed the issue.

    Best Regards.

    Plugin Contributor angelleyesupport

    (@angelleyesupport)

    I’m glad to hear things are working well for you now! As such, I am going to close this ticket now, but please feel free to respond here again or create a new ticket if you have any more questions or concerns.

    Also, we would love to know what you think of our product and customer support. If you have a moment to [ leave a review ] it would be greatly appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘New “checkout_button_label” not translated’ is closed to new replies.