API Reference DeepLProxyServerUI OlfSoftware.DeepL.ClientLib TDeepLAPI Class On this page Definition Constants Methods Definition Unit: OlfSoftware.DeepL.ClientLib Package: DeepLProxyServerUI Delphi Copy type TDeepLAPI = class(TObject) Inheritance TObject TDeepLAPI Constants ServerURLFree ServerURLPro Methods Init(string) Call to initialize DeepL API Server URL. By default the Free API Server is used. TranslateTextASync(string, string, string, TOnTextTranslatedEvent, TOnTextTranslatedErrorEvent, TJSONObject, Boolean) call DeepL API to translate the text from source_lang to target_lang (asynchrone - don't freeze current thread) TranslateTextASync(string, string, string, TOnTextTranslatedProc, TOnTextTranslatedErrorProc, TJSONObject, Boolean) call DeepL API to translate the text from source_lang to target_lang (asynchrone - don't freeze current thread) TranslateTextASync(string, string, string, string, TOnTextTranslatedEvent, TOnTextTranslatedErrorEvent, TJSONObject, Boolean) TranslateTextASync(string, string, string, string, TOnTextTranslatedProc, TOnTextTranslatedErrorProc, TJSONObject, Boolean) TranslateTextSync(string, string, string, TJSONObject, Boolean) TranslateTextSync(string, string, string, TJSONObject, Boolean, string) call DeepL API to translate the text from source_lang to target_lang (synchrone - current thread is freezed during process) TranslateTextSync(string, string, string, string, TJSONObject, Boolean)