Example usage for Java com.google.gwt.language.client.translation Translation fields, constructors, methods, implement or subclass
The text is from its open source code.
Widget | createBrandingWidget(BrandingOptions options) Creates a widget with Google branding. |
void | detect(String text, LangDetCallback callback) A global method that will return the language code that describes the language of the given text. |
boolean | isTranslatable(Language lang) A method that will return the translatable status for a given language code. |
boolean | isTranslatable(String langCode) Private helper method that actually invokes the underlying javascript to get translatable status of language. |
void | translate(Option option, Language src, Language dest, TranslationCallback callback) Method that will return translated text for the given text supplied, matching the destination language. |
void | translate(String text, Language src, Language dest, TranslationCallback callback) Method that will return translated text for the given text supplied, matching the destination language. |
void | translate(String text, String src, String dest, TranslationCallback callback) Translates text from source to destination language. |