I have an answer that I parse with json and display the result. Is it possible to translate into another language, for example, into French, Hindi, German?
When I was browsing, I found out that google stopped in 2011 as a free version and started evaluating. Is there a free version for converting response text to another language?
Part of the code is as follows:
TextView text;
JSONObject jsono=new JSONObject(data);
JSONArray jarray = jsono.getJSONArray("posts");
for (int i = 0; i < jarray.length(); i++) {
JSONObject object = jarray.getJSONObject(i);
String name= object.getString("name");
text.setText(name);
Say for example: the answer is that I get Good morning. which I need to translate and display in text form as Bonjour, which is in French.
Shark source
share