#thang-localisation

1 messages · Page 1 of 1 (latest)

open plaza
#

@bold bay the errors returned in user-facing places like the message in error Promises from stripe.js are generally localised, but backend API errors are always in English and I can't share any specific plans

bold bay
#

Ok, thanks

#

@stripe/stripe-react-native, is this translated?

open plaza
#

as far as I know yes, as in the error messages shown to end-customers as returned by the SDK, are.

bold bay
#

Nice, cool

#

How do i specify which language i want to display?

open plaza
#

for React Native? not sure off the top of my head! As far as I know it's the same way you'd specify the language for any RN app.

#

in our iOS and Android libraries it goes off the system language the user set on their phone., I assume it's similar since the RN library is just wrapping those

bold bay
#

When i register a payment, i make this call

#

.confirmPayment(clientSecret);

#

To the SDK, should i specify any parameter with language?

open plaza
#

as I said I don't know off the top of my head and I'm not a React Native developer

#

as I said I think it just works off the locale of the device(so you could try changing it in setting apps of the simulator, that's what I do for testing this with iOS directly at least!)

bold bay
#

Ok, thank you 🙂