This project is read-only.
1
Vote

Throws Exception When Translating large text

description

version: va05
 
error message:
GoogleLanguageException: Exception of type 'GoogleLanguageException' was thrown.
at CtpGglTranslate.Ggl.Translator.GetTranslatedPost(String input, String defaultLang, String to_lang)
at ConsoleApplication2.Program.testTranslate(String sourceLang, String destLang)"
 
cause:
The error is "(414) Request-URI Too Large"
refer to Google AJAX API Terms of Use http://code.google.com/intl/ru/apis/ajaxlanguage/terms.html, submit any request exceeding 5000 characters in length;
 
thank Nanditha Ranasinghe for pointing this bug out

file attachments

comments

jebberwocky wrote Oct 25, 2010 at 4:04 AM

  • the misleading exception message is fixed in release 0.6.0

wrote Feb 14, 2013 at 3:18 AM