How to change the language of the checkout form in Stripe?

I noticed that with the Stripe layout, the language seems to be fixed in English.

Is there a way to change this language, for example, to Spanish, Japanese or Chinese?

I am currently using the default form code in the Stripe documentation:

<form action="/charge" method="POST">
  <script
    src="https://checkout.stripe.com/checkout.js" class="stripe-button"
    data-key="pk_test_variable_here"
    data-image="/img/documentation/checkout/marketplace.png"
    data-name="My Company Pty Ltd"
    data-description="2 widgets"
    data-currency="aud"
    data-amount="2000">
  </script>
</form>
+4
source share
2 answers

EDIT : Update the response as it is accepted to make sure it is visible.

Stripe has released a feature that automatically displays the display of Stripe Checkout in other languages.

- data-locale="auto" Checkout , . . data-locale, Stripe.

+3

, , -. data-locale: "language" script. :

<form action="/charge" method="POST">
  <script
    src="https://checkout.stripe.com/checkout.js" class="stripe-button"
    data-key="pk_test_variable_here"
    data-locale="fr"
    data-image="/img/documentation/checkout/marketplace.png"
    data-name="My Company Pty Ltd"
    data-description="2 widgets"
    data-currency="aud"
    data-amount="2000">
  </script>
</form>
+3

All Articles