skip to Main Content

I am using flutter_localozation for localizing my app creating .arb files for different languages. However, I am not able to localize the data coming from API, how can I do so?

2

Answers


  1. I am not aware of this kind of translation but I would like to suggest you – If possible try to add one parameter in api – which represents selected language and based on that you will get response from API. For this you have to implement translation in database as well. For some static strings you can manage it from app side and for dynamic response it will be manage using database.

    Login or Signup to reply.
  2. According to me if possible, get translated JSON response based on the selected language from Backend.

    Because by doing this, you can reduce translating stuff from the App side.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search