#felipe-zellner_unexpected

1 messages ยท Page 1 of 1 (latest)

fast novaBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1451595690542239776

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

urban dawn
#

Hi ๐Ÿ‘‹ no, if I recall correctly, the Payment Sheet is always chooses its locale based on the device settings.

unborn verge
#

Hey Toby, thats weird because my device is on pt-br in example, and the payment form is still in english

#

Also, i made a test and changed my device to French, the form showed in Frech correctly. The same for spanish

urban dawn
#

Hm, that does sound weird. Where are you setting your locale?

unborn verge
#

On the device settings actually:

urban dawn
#

Hm, does your OS let you set that on an app-level as well?

unborn verge
#

Yeah, when switch from Portuguese to french tye app is translated

urban dawn
#

Ah, so it sounds like the OS youi're using is using the app-level setting for your app rather than the default global, which I think sounds expected

unborn verge
#

But if the OS is defined to pt-br the form shouldnt be in pt-br also among with the application?

urban dawn
#

Sorry, I'm having a hard time following. Can you clearly outline the state of the device you're testing with?

  • OS:
  • Global language setting:
  • App specific language setting for your app:
  • What language the Stripe Payment Sheet is in:
unborn verge
#

OS: Android 15
Global language setting: Portuguese
App specific language setting for your app: Portuguese
What language the Stripe Payment Sheet is in: English

urban dawn
#

Gotcha, that does sound unexpected to me, and I'm double checking that with a teammate. Have you tried testing on other devices by chance? Was this working for you previously?

unborn verge
#

I have tryied to change to french. The Stripe payment sheet translated gracefully. The same for spanish

#

And other devices showed the same behavior

urban dawn
#

Is your app using our Android SDK, or our React Native SDK, and which version of that are you using?

unborn verge
#

It is Android SDK

urban dawn
#

Thank you! What vertsion are you using?

unborn verge
#

it is 22.5.0

#

Im downgraded to 22.4.0 to see if this behavior persists

urban dawn
#

Gotcha. I think this is something that our team that owns the SDK will need to take a closer look at, especially if changing versions impacts what you see.

Once you've finished that test, can you take the information you've collected and open an issue in our github repo:
https://github.com/stripe/stripe-android/issues
That'll go straight to the team that maintains the SDK, who should be able to investigate further. Please provide them with as much information as possible when doing to aid their investigation.

GitHub

Stripe Android SDK . Contribute to stripe/stripe-android development by creating an account on GitHub.

unborn verge
#

Thank you toby

#

Actually downgrading it do not changed the payment form language

urban dawn
#

Thank you for that confirmation. At least that means this likely isn't a regression from the newest version.

unborn verge
#

Sure! thank you, ill open the issue on github

#

Thanks again