Posted: November 3, 2016 at 12:12 pm
|
It seems that Stripe is available in Spanish. Stripe webpage says: You can opt in to using the translated version with a single line of code. If you’re using the simple integration, just pass data-locale=”auto” into the <script> tag. If you have a custom integration, use locale: ‘auto’ when calling StripeCheckout.configure(). There’s more info in the docs. Can you be more specific about where exactly should I add data-locale=”auto” line? |
Hi there, We do not provide support for modifying core files, however we do have a feature request ticket to include this within the Stripe payment method so I have added this thread to the ticket and requested some feedback on this feature. I will post any updates provided by the developer here. |
|
|
Is it even possible to modify any core files here to translate checkout strings? Where can I find them? |
|
I copy here answer I got from Stripe support team regarding request for help on this issue: Thanks for contacting us! Though I hate to redirect you, Stripe didn’t build this plugin, so I’m afraid we don’t have much insight here. As a next step, I’d suggest reaching out to the creator to see if they’re able to provide some additional guidance on how to have Checkout translated into Spanish. Feel free to have them contact us directly if they have any questions — we’d be happy to help! I’d also like to inform you that we’re now able to answer our customers with accounts in Spain in Spanish, so if you prefer to write in Spanish next time you contact us, you’re more than welcome to do so! All the best, |
What they’re working on doing is adding this:
to espresso_stripe_onsite.js. Which should allow for using the preferred language set in your Stripe account. |
|
|
Is this happening anytime soon? I’m in a hurry with this. |
Generally we do not support modifying core files, however as this is likely to be included within the next release of the Stripe payment method and you are in a hurry I can give you the details to add this to your version of the Stripe add-on. If you open up Around line line 177 you’ll find something like this:
Add
Clear the cache within your browser and test if the translations come through on the Stripe checkout. Note the translation feature is a Stripe checkout feature, other than setting the above locale we don’t have any further control of how the checkout will display in this case. |
|
|
Thank you very much, I really appreciate this. Traslation is working fine now, except for the list of countries displayed in Stripe popup window (still in English), any idea on how to have this list translated? |
That popup window is controlled by Stripe themselves so we don’t have any control over the translations within the countries dropdown, you would need to contact Stripe and see if they have any suggestions for translating that section. |
|
The support post ‘Stripe Spanish Translation’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.