#alx8523

1 messages · Page 1 of 1 (latest)

fallen kayakBOT
prime locust
#

Hi there, what language do you want to use for react native development?

tender tinsel
#

I need Romanian

prime locust
#

Are you asking if Stripe SDK has localization for Romanian?

tender tinsel
#

Yes, does it have it?

tender tinsel
prime locust
tender tinsel
#

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?

prime locust
#

Are you asking if you can write code in Romanian instead of English?

tender tinsel
#

I am asking if I can pass it something so it displays text in Romanian?

prime locust
#

Ok, so you want the text in PaymentSheet displayed in Romanian?

tender tinsel
#

yep

prime locust
#

Ok. PaymentSheet will be presented in the language according to device's language settings.

tender tinsel
#

Yeah, I have iOS devices in Romanian language and it doesn't change.

prime locust
#

You need to add ro in the CFBundleLocalizations array in your xcode's Info.plist.

tender tinsel