Any error in input of the cc data is handled by https://js.squareup.com/v2/paymentform which is linked to from jscript_square.php.
How can I change the language of the error messages? Error messages are
  • Credit card number is not valid
  • CVV is not valid
  • Expiration date is not valid

I need Japanese.