LanguageCode srcLanguage = LanguageCode.ENGLISH;
LanguageCode[] destLanguages = SupportedDestinationLanguages.ALL.getLanguageCodes();
TransliterationControlOptions options = TransliterationControlOptions.newInstance(
srcLanguage, destLanguages, true, "ctrl+g");
TransliterationControl control = TransliterationControl.newInstance(options);
control.showControl(div);
control.makeTransliteratable(transltextarea);
// TODO: making textarea transliteratable is resizing the textarea. Fix the
// issue. Currently we have to explicitly resize or specify
// adjustTextareaStyle = false
transltextarea.setWidth("500px");