• Resolved Julian

    (@juliangk)


    Hi,

    the “or” in the cart page is not being translated into german, I also have not found a hook to hook into, to change it.

    Is there an easy way to change the output text without installing Loco Translate?

    Thank you and best regards
    Julian

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @

    Is there an easy way to change the output text without installing Loco Translate?

    If you’re against using a translation plugin then you could just modify the template by copying it to your theme.

    Template location:

    templates/cart/payment-methods.php.

    It works the same as WooCommerce template modification. You would create a directory in your active theme called pymntpl-paypal-woocommerce and then copy the template file to pymntpl-paypal-woocommercecart/cart/payment-methods.php

    Kind Regards

    Thread Starter Julian

    (@juliangk)

    Hello, again.

    and same goes for all the notices? They are in english now.

    Plugin Author Payment Plugins

    (@mrclayton)

    and same goes for all the notices? They are in english now.

    I would not recommend you try and modify ever string used by the PayPal plugin this way. Plugins like Locotranslate exist because they make translating very simply.

    Here is link to a German translation of the PayPal plugin. I would recommend using this file if you don’t want to translate yourself.

    Kind Regards

    Thread Starter Julian

    (@juliangk)

    Thank you very much, that saves me quite some time.

    Thank you also for the very quick reply!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘— or —’ is closed to new replies.