badarukhiya / google-api-translate-java

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

Wrong translation from Korean to Japanese by a period #181

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi Google Translate API team, 

Could you review and guide how to fix the following issue?

1) Issue
When we use Google Translate APIs, the translation from Korean to Japanese is 
different by a period.
However, there are no issues on Google Translate application and web page. 
Please guide me how to avoid this problem. 

2) Reproduction Step
1. Insert Korean(마음을 비워라)and translate to 
Japanese(心を空白のままになさい)
2. Insert Korean with a period 
   Korean(마음을 비워라.) -> Japanese(の心を空白のままに·ラ。)

3) Returned string from Google APIs

Service_URL = 
"https://www.googleapis.com/language/translate/v2?key=%s&q=%s&target=%s&source=%
s";

rQuery = String.format(Service_URL, gAPI_key,
                        URLEncoder.encode(text, ENCODING), to, from);

Original issue reported on code.google.com by lge.stel...@gmail.com on 14 May 2013 at 4:23