Skip to content

how to translate magento2 Core APIs messages

I am creating mobile app using magento2 APIs. The problem is that I want to translate messages according to the store on frontend for example i want to translate the error messages and success messages of create account API by using i18 how can i do that without overriding APIs