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

    (@mrclayton)

    Hi @saladin100

    Using a plugin like Loco is how you translate a plugin translation file and it makes it easier to manage because the translation is automatically shown to your customers based on the language settings.

    If that’s not a concern to you, just use filter wc_stripe_local_payment_description and you can translate the string.

    Example:

    add_filter('wc_stripe_local_payment_description', function($text, $gateway){
        if($gateway->id === 'stripe_sepa'){
            $text = 'my translation';
        }
        return $text;
    }, 10, 2);
Viewing 1 replies (of 1 total)
  • The topic ‘translate SEPA’ is closed to new replies.