Reputation: 45
I have an application that fetches data from a server and displays it. Is there a way to convert the data from the server (which is in English) to whatever local the user has set on their device?
Upvotes: 0
Views: 41
Reputation: 610
The server must send your data in the language the app requests. For that you can use google's translate API, on the client but preferably on the server(translate the content once), if you can't obtain the translations.
Beside that, all the labels etc. that are contained within the app can be translated locally. More info here.
Upvotes: 1