Przewodnik dla programistów interfejsu Google Transliterate API
Wszelkie prawa zastrzeżone. Java jest zastrzeżonym znakiem towarowym firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2023-03-30 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2023-03-30 UTC."],[],["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"]]