views:

144

answers:

3

Dear all, I now have a running Java program which only lacks of the final step,that is:

suppose I have a String1 ="Obama" is there any online translation API that I could use to get the corresponding Chinese word back,and put it in another String2="奥巴马“.

I've tried BabelFish,but that doesn't seem to provide any service for Java program.

Thanks guys,really need your help here to find some translation API for me that I could use in my Java program.

Robert

+2  A: 

try Google Translate

objects
I am bit newbie here,in Eclipse,should I click on (default package) and then import the .jar file?
Robert
copy the jar into say a lib directory in your project then right click on the jar in your project and add it to your build path (Build Path>Add to build path)
objects
+1  A: 

You can use Google API Translate Java.

Provides a simple, unofficial, Java client API for using Google Translate.

Desintegr
A: 

Google Translate Kit. Java Wrapper just released

jebberwocky