DeepL::Translator - text translation via www.deepl.com

Parser overview
Fast, up to 1600 requests per minute, multi-threaded text translator via the DeepL service. This parser allows you to translate any volume of text in automatic mode, so you get unique content for filling websites, posting to social networks, or for filling any other resources. The parser automatically detects the source language of the content; you only need to specify the target language. DeepL translator is capable of processing colossal amounts of text while not consuming many resources.

Collected data
- Translated text
- Source text language
Capabilities
- Translation language selection
- Automatic language detection
Use cases
- Text translation
- Obtaining various content in the required language for further use
Queries
Any text for translation should be specified as queries, for example:
A-Parser - a multi-threaded parser of search engines, site assessment services, keywords, content(text, links, random data) and much more(youtube, pictures, translators...). A-Parser combines over 60 parsers in total!
Output results examples
A-Parser supports flexible results formatting thanks to the built-in Template Toolkit template engine, which allows it to output results in any form, as well as in structured formats like CSV or JSON
Default output
Result format:
$query - $translated\n
Example result showing the source text and the translation into the selected language:
A-Parser is a multithreaded parser of search engines, site evaluation services, keywords, content (text, links, random data) and much more (youtube, pictures, translators...). In total, A-Parser combines more than 60 parsers! - A-Parser is a multithreaded parser of search engines, site evaluation services, keywords, content (text, links, random data) and much more (youtube, pictures, translators...). In total, A-Parser combines more than 60 parsers!
Outputting query, detected language, and translated text to a CSV table
Result format:
[% tools.CSVline(query, detected, translated) %]
Example result:
"A-Parser - a multi-threaded parser of search engines, site assessment services, keywords, content(text, links, random data) and much more(youtube, pictures, translators...). A-Parser combines over 60 parsers in total!",EN,"A-Parser - a multi-threaded parser of search engines, site assessment services, keywords, content(text, links, random data) and much more(youtube, pictures, translators...). A-Parser combines over 60 parsers in total!"
Saving in SQL format
Result format:
[% "INSERT INTO text VALUES('" _ query _ "', '"; detected _ "', '"; translated _ "')\n"; %]
Example result:
INSERT INTO text VALUES('A-Parser - a multi-threaded parser of search engines, site assessment services, keywords, content(text, links, random data) and much more(youtube, pictures, translators...). A-Parser combines over 60 parsers in total!', 'EN', 'A-Parser - a multi-threaded parser of search engines, site assessment services, keywords, content(text, links, random data) and much more(youtube, pictures, translators...). A-Parser combines over 60 parsers in total!')
Dumping results to JSON
General output format:
[% IF notFirst;
",\n";
ELSE;
notFirst = 1;
END;
obj = {};
obj.query = query;
obj.detected = p1.detected;
obj.translated = p1.translated;
obj.json %]
Initial text:
[
Final text:
]
Example result:
[{"query":"A-Parser - a multi-threaded parser of search engines, site assessment services, keywords, content(text, links, random data) and much more(youtube, pictures, translators...). A-Parser combines over 60 parsers in total!","translated":"A-Parser - a multi-threaded parser of search engines, site assessment services, keywords, content(text, links, random data) and much more(youtube, pictures, translators...). A-Parser combines over 60 parsers in total!","detected":"EN"}]
To make the "Start text" and "End text" options available in the Task Editor, you need to activate "More options".
Possible settings
| Parameter | Default value | Description |
|---|---|---|
| From language | Auto-Detect | Select which language to translate from; auto-detection is set by default |
| To language | English | Select the language to which the translation should be performed |