-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
It could be interesting to be able to force a locale for the Stripe instance.
According to the documentation: https://stripe.com/docs/stripe-js/reference#stripe-function
A prop "locale" could be created
locale: {
type: String,
default: 'auto'
validator: function (value) {
return ['auto', 'ar', 'da', 'de', 'en', 'es', 'fi', 'fr', 'he', 'it', 'ja', 'lt', 'lv', 'ms', 'nb', 'nl', 'pl', 'pt', 'ru', 'sv', 'zh'].indexOf(value) !== -1
}
},
And Stripe instantiate with:
this.stripe = Stripe(this.apiKey, this.locale);
Metadata
Metadata
Assignees
Labels
No labels