Originally Posted by
todoonada
Thanks for your quick answer. I feared I would not have direct influence by changing any language file.
I tried changing the browser language and OS language, but it was still in English.
I will look into the link and file you gave me.
who loves ya. look at the aforementioned file, add the set locale in the proper spot:
PHP Code:
document.addEventListener('DOMContentLoaded', async function () {
if (!window.Square) {
throw new Error('Square.js failed to load properly');
}
const payments = window.Square.payments(appId, locationId);
payments.setLocale('es');
let card;
that worked for me.
what other language codes would work, you would have to further examine the docs.
Bookmarks