#sai-error-localization
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Stripe.js can localize the error messages if you set the locale on initialization
https://stripe.com/docs/js/initializing#init_stripe_js-options-locale
Don't think something like this is available for the API though
Ah is that something you can confirm?
Yup, I believe its only supported on Stripe.js at the moment
Ok thanks for your help
NP! ๐ Happy to help
@hexed echo the idea is that errors returned client-side would be shown to the end customer and should be localized but errors returned server-side are usually developers/integration errors and don't need to be translated
sai-error-localization
Hmm okay that's interesting, thanks for expanding on that