The automatic bypass on error is a good idea. I'll raise it to the dev team.
Jeremy R. Geerdes Effective website design & development Des Moines, IA For more information or a project quote: http://jgeerdes.home.mchsi.com http://jgeerdes.blogspot.com http://jgeerdes.wordpress.com [email protected] Unless otherwise noted, any price quotes contained within this communication are given in US dollars. If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! And check out my blog, Adventures in Web Development, at http://jgeerdes.blogspot.com ! On Dec 10, 2009, at 8:07 AM, Mike Duffy wrote: > Thanks. I believe I will simply limit my requests to 1200 or so > english bytes-to-translate. > > But would it not be easier for the jsapi lib to check for the error > you described, since it "knows" what the URI limit is? By this I mean > that the I could continue to use the "google.translate()" function > call as it is documented, and have the callback executed immediately > with an appropriate message returned in result.error , without the > need for any request being sent at all. As far as that goes, if there > is actually a server error response (of any sort), this should be > returned via some mechanism that does not require the end-user to > debug what has transpired. > > I could also wait a "resonable" time, and generate my own error if the > callback does not fire, but this seems to be a needless complication. > > -- > > 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.
