<script type="text/javascript"> // Load the Google Transliterate API google.load("elements", "1", { packages: "transliteration" }); function onLoad() { var options = { sourceLanguage:'en', // from english destinationLanguage:['or'], // to oriya shortcutKey: 'ctrl+g', transliterationEnabled: true }; // Create an instance on TransliterationControl with the required // options. var control = new google.elements.transliteration.TransliterationControl(options); // Enable transliteration in the textbox with id // 'transliterateTextarea'. control.makeTransliteratable(['TEXT_BOX_ID']); } google.setOnLoadCallback(onLoad); </script>
Please check this information in the relevant documentation https://developers.google.com/transliterate/v1/getting_started?hl=en
amar nath jena
source share