Java com.google.gwt.language.client.translation Translation fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.language.client.translation Translation fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.language.client.translation Translation.

The text is from its open source code.

Method

WidgetcreateBrandingWidget(BrandingOptions options)
Creates a widget with Google branding.
voiddetect(String text, LangDetCallback callback)
A global method that will return the language code that describes the language of the given text.
booleanisTranslatable(Language lang)
A method that will return the translatable status for a given language code.
booleanisTranslatable(String langCode)
Private helper method that actually invokes the underlying javascript to get translatable status of language.
voidtranslate(Option option, Language src, Language dest, TranslationCallback callback)
Method that will return translated text for the given text supplied, matching the destination language.
voidtranslate(String text, Language src, Language dest, TranslationCallback callback)
Method that will return translated text for the given text supplied, matching the destination language.
voidtranslate(String text, String src, String dest, TranslationCallback callback)
Translates text from source to destination language.