#cedric-paymentelement-localization

1 messages · Page 1 of 1 (latest)

gaunt vesselBOT
trim scroll
#

cedric-paymentelement-localization

#

Hey @wet pebble ! The localization happens client-side so when you load/initialize Stripe.js you would set the right locale so that the PaymentElement renders in the right language if you want to force one. See: https://stripe.com/docs/js/initializing#init_stripe_js-options-locale

We recommend setting nothing and letting us handle based on the browser's locale. If you change your browser's locale to English or Japanese right now, PaymentElement will use that information

wet pebble
#

ok thanks for your kind help