anupam409 / google-api-translate-java

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

Failed Thai translation in tests [patch] #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run the tests
2. Watch the TranslateTest.testTranslate fail on a Thai translation of
Hello world

What version of the product are you using? On what operating system?
svn trunk

Please provide any additional information below.
It started failing today, the test expects "สวัสดีโลก" but 
the translation is
"โลกสวัสดี". I suspect that this is the result of some 
internal Google
Translate vocabulary update as the second translation looks as much Thai to
me as the first. The online version at http://translate.google.com has
trouble translating "Hello world" and only translates "Hello". I do not
speak Thai but I think it should be ok to update the expectation in the
test. I'm attaching the patch which does exactly that.

Original issue reported on code.google.com by kramar.tomas on 4 Nov 2009 at 9:34

Attachments:

GoogleCodeExporter commented 9 years ago
I suspect you're right, I've seen this regularly before. It still works for me 
though 
- I wonder if either it's reverted or updated translations just haven't reached 
the 
servers I'm using yet.

I'll keep an eye on it for the next day or two. Thanks.

Original comment by rich.mid...@gmail.com on 4 Nov 2009 at 10:41

GoogleCodeExporter commented 9 years ago
Still looks ok to me, marking as won't fix.

Original comment by rich.mid...@gmail.com on 6 Nov 2009 at 9:33