#beeloon-error-language

1 messages · Page 1 of 1 (latest)

tropic mesa
#

Hello! GIve me a minute to think about this

smoky sedge
tropic mesa
#

I don't believe we localize error messages from server-side requests, only from client-side requests made with Stripe.JS or our mobile sdks

smoky sedge
#

@tropic mesa got it, thank you again🙇
In that case can you suggest a way how to better implement the behaviour?

  1. Write a middleware on BE side, and change lang dependant on response msg
    or
  2. Do that on FE side? We need to translate it on mobile with Flutter app (need to check if there any way to change lang with flutter stripe lib)
tropic mesa
#

It really depends on your app - I think either option will work, but it'll depend on how you want to do the translations and everything