You are correct that the API does not support the submission of multiple q parameters. However, you could join your various strings to be translated with some string that you know will not be translated (e.g., HTML in html mode or a new line in text mode) and then split the response on those strings.
Jeremy R. Geerdes Effective website design & development Des Moines, IA For more information or a project quote: http://jgeerdes.home.mchsi.com [email protected] If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! On Sep 13, 2010, at 6:06 AM, Karthik wrote: > I just tried batch detection with Google Language API and found it > reads only the first 'q' parameter. > > Try: > > http://ajax.googleapis.com/ajax/services/language/detect?v=1.0&q=hello%20world&q=Bonjour%20tout%20le%20monde > > Even the documentation doesn't state explicitly that batch detection > is possible, but wouldn't it be great to offer this feature > considering by the fact that more tougher batch translation is > supported by the API? > > -- > 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. > -- 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.
