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

Provide a locale to Stripe Elements requests to enable messages to be translated #7961

Closed
oeoeaio opened this issue Sep 27, 2017 · 0 comments · Fixed by #8405
Closed

Provide a locale to Stripe Elements requests to enable messages to be translated #7961

oeoeaio opened this issue Sep 27, 2017 · 0 comments · Fixed by #8405
Assignees
Labels
enhancement improvement FR Selected to be done by the French active instance papercut Labels papercuts after they've moved from the "Papercuts prioritized" column

Comments

@oeoeaio
Copy link
Contributor

oeoeaio commented Sep 27, 2017

Overview

Stripe Elements defaults to english, but a locale can be passed to enable any error messages that originate from Stripe to be translated.

Approach

I think all that this would take is to provide a locale to the requestToken function in the StripeElements service.

Also

I haven't looked into what it would take to get error messages generated by server side requests made to Stripe to be translated also, but I imagine that a similar approach should be able to be used.

@jaycmb jaycmb transferred this issue from openfoodfoundation/openfoodnetwork Jun 9, 2021
@RachL RachL transferred this issue from openfoodfoundation/wishlist Jul 22, 2021
@RachL RachL added FR Selected to be done by the French active instance enhancement improvement labels Jul 22, 2021
@jibees jibees self-assigned this Oct 25, 2021
@sigmundpetersen sigmundpetersen added the papercut Labels papercuts after they've moved from the "Papercuts prioritized" column label Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improvement FR Selected to be done by the French active instance papercut Labels papercuts after they've moved from the "Papercuts prioritized" column
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants