#Killian Quoniou
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
The reason is that i want to display the error for my users but in the language of the user
You can set the locale when you load Stripe: https://stripe.com/docs/js/appendix/supported_browsers
is it also possible with the PHP API ?
Backend errors are always in English, because they are intended only for developers. So you will need to intercept them and show something else to the customers.
ok so for example if the creation of a connected account failed because of an invalid phone number (filled by the user on a form) then i will always have the error in english, right ?
Yes
ok thanks 🙂
Happy to help. Please, let me know if you have any other questions.