@stripe is there any way I can change the locale after creating the stripe element? Customer can switch language any time on the page; everything nicely changes; only stripe elements remains in the initial locale...
You can force Elements into a different language, eg. French, using the following: `var elements = stripe.elements({locale: "fr"});`
-
-
Yes, but can I switch it after initialisation? User can switch language after page load (we’re running as an SPA)
-
Ah! Sorry, this isn't possible at the moment.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.