public static String googleTranslateToEnglish(String text) {
        Translator translator = new GoogleTranslator();
        String result = null;
        if (translator.isAvailable()) {
            try {
                result = translator.translate(text, "en-US");
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
        return result;
    }
Use {@link GoogleTranslator} to execute translation on
input data. This implementation needs configured as explained in the Javadoc.
In this implementation, Google will try to guess the input language. The target
language is "en-US".

@param text input text to translate.
@return translated text String.
tika-example/src/main/java/org/apache/tika/example/TranscribeTranslateExample.java