Forum Academy Marketplace Showcase Pricing Features

How to translate error messages from API calls?

Hi there

I’m wondering how anyone is handling language support when it comes to error messages from external APIs.
Specifically, I would love to use XANO as my backend. Starting with the user sign-up process, there could be some errors like email in use or a weak password.
The returned message will be in English. What’s a clean way of providing texts in other languages for the user or even other English texts that are better suitable to the use case?

At the moment I see only one option to “Include errors in response and allow workflow actions to continue” and do some magic with the returned error body (analyzing the JSON string and interpreting the error, building my own translation DB or using the App Text Feature)

What are your thoughts and ways of handling API errors, and XANO in particular?