• Hi,

    I tried to translate stripe in the checkout in french. I tried to add a filter in function but it’s doesn’t work and stripe remain in english.

    code i’ve tried in child theme :

    function tbz_wc_change_stripe_checkout_locale( $locale ) {
    return ‘fr’;
    }
    add_filter( ‘wc_stripe_checkout_locale’, ‘tbz_wc_change_stripe_checkout_locale’ );

    Maybe it’s wrong and i need to change it for wcfm ?

    Thanks to you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WC Lovers

    (@wclovers)

    Are you using WooCommerce Stripe plugin or WCFM Stripe split pay?

    Both the cases you have to translate field labels using translation. You may use Loco Translate for the purpose.

    Help guide –?https://localise.biz/wordpress/plugin/beginners??
    https://www.youtube.com/watch?v=ZUPhsoUm-QE?

    Thread Starter devbidibou

    (@devbidibou)

    Hi, Btw i tried it, i’m using stripe split pay.
    I tried poedit and loco translation without any change. Text seem to be change by stripe automatically.

    I tried to add filter without any help.

    Thanks

    Plugin Author WC Lovers

    (@wclovers)

    OK.

    add_filter( ‘wc_stripe_checkout_locale’, ‘tbz_wc_change_stripe_checkout_locale’ );

    – This filter will not work here. I am checking how this ca be achivable!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Stripe checkout translation’ is closed to new replies.