Tuesday, 15 January 2013

api - How do I change the language of the checkout form in Stripe? -


I have noticed that with the Stripe checkout form, the language is decided in English.

For example, is there any way to change this language in Spanish, Japanese or Chinese?

I am currently using default form code on strip documentation:

  & lt; Form action = "/ charge" method = "post" & gt; & Lt; Script src = "https://checkout.stripe.com/checkout.js" class = "stripe-button" data-key = "pk_test_variable_here" data-image = "/ img / documentation / checkout / marketplace" data-name = "My company Pty Ltd" data-description = "2 widget" data-currency = "aud" data-zodiac = "2000" & gt; & Lt; / Script & gt; & Lt; / Form & gt;  

edit : Changing the Answer Because This is

Allows a feature to strip, allowing you to display the stripe checkout automatically in other languages.

Easiest Solution Data-Locale = "Auto" , if displayed in the user's preferred language, checkout. English will be used by default You can also force a specific location in data-locale , unless it is officially supported by the stripe.


No comments:

Post a Comment