Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

is there any way to dynamically convert the English API response received through Retrofit to any other language?

I created a Quotes App, using an API to call the quotes, using retrofit, and now I want the app to have the option of translating all to Portuguese, Spanish and English. I’m new at coding can someone please help me?, how can I do that?

(The language of my app is #Kotlin)

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

That’s not something that can be done directly.
I guess the best approach to achieve that functionality would be using a second API for translating the result of the query from the first API.

Just Google "Translation API".

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading