#m2.0
1 messages ยท Page 1 of 1 (latest)
Hello ๐
My understanding is that the SDKs use system settings for the language locale and translate the error accordingly
Have you tried changing the language on your test device already?
Hello, it's strange because my device is set to French but the messages are in English
Ah interesting.. Let me see if I can find something
thanks
Does the error object have localizedMessage prameter?
Is that what you're currently using?
Because as I mentioned earlier and this github issue confirms it too that the native libraries are translating the strings directly based on the device locale
https://github.com/stripe/stripe-react-native/issues/820#issuecomment-1050219967
Oh thank you, I hadn't thought to consult the github!
NP! All good.
LMK if I can help with anything else ๐
Everything is good thank you ๐