Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Localized error strings not being translated to Spanish #5074

Closed
maganap opened this issue May 26, 2022 · 3 comments · Fixed by #5858
Closed

[BUG] Localized error strings not being translated to Spanish #5074

maganap opened this issue May 26, 2022 · 3 comments · Fixed by #5858
Labels

Comments

@maganap
Copy link

maganap commented May 26, 2022

Summary

I'm using flutter_stripe package for an app developed in Flutter. After some initial setup, this package automatically sets the payment bottom sheet language to the language configured on the cell phone.

We're working in Spanish es-ES. The bottom sheet certainly shows in Spanish, but the localizad error messages are always shown in English. For example, when closing the sheet without paying, a StripeException is received with a LocalizedErrorMessage. The localizedMessage property is supposed to be translated, but it is not.

I asked a question to this flutter package support and I was told the localized messages come directly from the native Stripe SDK, they're a bridge to Flutter so I should open a case here. I'm sorry I can't really give you more details on the problem since I don't know the way this package works internally.

Android version

Tested on Android 6, 10 and 11. iOS 15.4.1

Installation method

Through flutter_stripe package.

Other information

This problem is actually happening in iOS as well, but anyway I was told to report to the native SDK.
This is the same issue reported to the iOS SDK, but I have received no response.

SDK version from iOS:
Stripe 22.0.0 from Podfile.lock

If there's anything else you can explain me to verify so I can give you better information, please let me know. Thanks!

@maganap maganap added the bug label May 26, 2022
@maganap
Copy link
Author

maganap commented May 30, 2022

Seems related:
#5058

@michelleb-stripe
Copy link
Contributor

Might be related to #2915

@tillh-stripe
Copy link
Collaborator

Hi @maganap 👋 We’ve fixed the issue now. Sorry that it took us so long. Please continue reaching out to us if you experience any other issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants