F
F
FlaIDzeres2014-02-28 11:35:41
Java
FlaIDzeres, 2014-02-28 11:35:41

Java library translator: are there any?

Are there such libraries?
With an interface like this:

public String translate(String s1, String lang) {
return s2;
}

s1- what needs to be translated
lang- language index
s2- translation
Or advise some other solutions, preferably offline.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
Fandros, 2014-03-03
@Fandros

NO! Or extremely primitive! But it is quite possible to write (or search) to receive a translation via the Internet, for example, from a Google translator.

D
DieMust, 2014-03-05
@DieMust

use google translate api https://developers.google.com/translate/?hl=en-RU

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question