jalbouys / google-api-translate-java

Automatically exported from code.google.com/p/google-api-translate-java
0 stars 0 forks source link

Bad Request errors when translating between English and Japanese #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Take the demo code on the site and replace Bonjour le monde with 'Japan'
2. change the original language to ENGLISH and the Target language to Japanese
3. compile and run

What is the expected output? What do you see instead?
I'd expext to see 'nihon' in kanji, but I get this:
Server returned HTTP response code: 400 for URL:
http://translate.google.com/translate_t?langpair=en|jp&text=Japan

What version of the product are you using? On what operating system?
google-api-translate-java-0.22.jar on Windows XP (Japanese)

Please provide any additional information below.
I get this for even the simplest of words. The same tests with Engish,
Spanish, and French seem to work. I also tested with several basic words
and phrases in both directions with the same results.

Original issue reported on code.google.com by ron.isho...@gmail.com on 5 Nov 2007 at 2:41

GoogleCodeExporter commented 8 years ago
Thanks.

I've released version 0.23 which I believe should fix this.

Original comment by rich.mid...@gmail.com on 5 Nov 2007 at 7:41