locale

Language code used to localize message displayed in the element. See the Stripe documentation for a list of supported values. Defaults to the current device locale language. Note: Not all device locales are supported by Stripe, and English will be used in the case of an unsupported locale. If you want to ensure a specific locale is used, pass it explicitly.