Google Transl 迭代 API 开发者指南
保留所有权利。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-03-30。
[null,null,["最后更新时间 (UTC):2023-03-30。"],[],["The Google Transliterate API facilitates text conversion between scripts using JavaScript. Key actions include loading the API via `google.load`, enabling transliteration on HTML elements with `.makeTransliteratable`, and displaying a control using `.showControl`. Transliteration is managed with methods like `.enableTransliteration`, `.disableTransliteration`, `.toggleTransliteration`. Language pairs are set and retrieved with `.setLanguagePair` and `.getLanguagePair`, while current status is shown by `isTransliterationEnabled`. Asynchronous calls require callback functions. Event listeners are registered via `.addEventListener` to control different events.\n"]]