Is it possible to get translated text in API response while testing the API in postman? I have already added required csv i18n folder in the path: app/code folder.

I am passing store code into the url like this in my custom api call: /rest/ar_sa/V1/contact

I am getting message in english only. I need to get that message in Arabic while ar_sa is pass into url.

Does any one have solution of this ?

  • the rest of the store-view is in the correct language? Jan 29, 2019 at 12:39
  • @PhilippSander All store views are in the correct language. I am having two different site with two stores in each. One is english store view and second is arabic. Jan 29, 2019 at 12:51
  • where did you place the csv file exactly (like full path from magento root including the filename itself)? Jan 29, 2019 at 13:05
  • @DavidVerholen Here is the full path : webroot/magento2/app/i18n/mageplaza/ar_sa/ar_SA.csv Jan 29, 2019 at 13:07

1 Answer 1


Put the ar_SA.csv file here:


Clear cache:

sudo php bin/magento cache:flush

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.