Hello, I'm using Language API v2 to develop a simple tool that asks Google to translate an array of text strings. I want to use only one connection so I prepare the array and fire the request in the same URL, for example
https://www.googleapis.com/language/translate/v2?key=<MY_KEY>&source=it&target=en&q=rosso&q=ghiaccio&q=piscina&p=neve You see, i want to translate "rosso" (= red), "ghiaccio" (= ice), "piscina" (= snow), "neve" (= snow), but the list of results are always sorted, I think, randomly. In fact, two replies of the same query above are: { "data": { "translations": [ { "translatedText": "red" }, { "translatedText": "snow" }, { "translatedText": "ice" }, { "translatedText": "pool" } ] } } and { "data": { "translations": [ { "translatedText": "pool" }, { "translatedText": "snow" }, { "translatedText": "red" }, { "translatedText": "ice" } ] } } How can I ask Google to parse it in the original sequence? Thank you so much -- You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en.
