#alx8523
1 messages · Page 1 of 1 (latest)
Hi there, what language do you want to use for react native development?
I need Romanian
Are you asking if Stripe SDK has localization for Romanian?
Yes, does it have it?
I think it is set as English
Yes Romanina is availble, see https://github.com/stripe/stripe-ios/tree/master/Stripe/StripeiOS/Resources/Localizations
Thanks Jack,
Just a quick one.
I have
import { useStripe } from "@stripe/stripe-react-native";
const { initPaymentSheet, presentPaymentSheet } = useStripe();
then I do..
presentPaymentSheet(); <- this is in English, how do I get it in romanian in react native?
Are you asking if you can write code in Romanian instead of English?
I am asking if I can pass it something so it displays text in Romanian?
Ok, so you want the text in PaymentSheet displayed in Romanian?
yep
Ok. PaymentSheet will be presented in the language according to device's language settings.
Yeah, I have iOS devices in Romanian language and it doesn't change.
You need to add ro in the CFBundleLocalizations array in your xcode's Info.plist.