title: How can I get localized error messages from Stripe
body: <p>One of our customers triggered a "Your card has insufficient funds." error during card <em>registration</em> (we only issue a charge at a later time) and we weren't able to show a helpful error message because we didn't have a localization for this error. While my sibling-question <a href="https://stackoverflow.com/questions/45441172/show-localized-payment-source-registration-errors-directly-in-stripe-elements">Show (localized) payment source registration errors directly in Stripe Elements</a> tries to work around the issue by avoiding to have to display the error at all, there are other places in our payment flow where our backend has to deal with payment errors (e.g. to send the user a mail stating the reason for the payment failure).</p>
  
  <p>Is it possible to get a localized error text from stripe or is there a complete list of possible error codes so we can localize the messages ourselves? (We are using the stripe ruby gem, if that is of relevance.)</p>