Translation-API Intro
Let's discover the Translation-API.
Introduction
Translating context the right way - our translation-API is available for free up to 20,000 queries a month. The reason machine translations are often better suited for translating is the problem of translating context. Depending on the context some words may translate differently, which is something an ordinary translation-tool often doesn't translate correctly.
Models
Depending on your use-case, you might want to use different models. Later your choice dictates which AI models are used for translation. Currently this is either 'Standard' or 'Slang'. We will go over what happens behind the scenes when translating so you know what to expect of the correctness.
Summarised, you will either be using:
- standard translations
- specifically-improved translations
- slang-optimized translations
In which standard translations is the least-accurate but supports the most languages, in which specifically-improved translations aims to improve the correctness when translating between 2 specifically supported languages and in which slang-optimized translations are specifically trained to also translate slang correctly.
Standard
Our standard (and default) system uses a number of models to accomplish so called 'many-to-many' translations. This means that if your source and target languages are included in the support languages, the API will be capable of translating between the languages.
Supported languages: Arabic (ar), Czech (cs), German (de), English (en), Spanish (es), Estonian (et), Finnish (fi), French (fr), Gujarati (gu), Hindi (hi), Italian (it), Japanese (ja), Kazakh (kk), Korean (ko), Lithuanian (lt), Latvian (lv), Burmese (my), Nepali (ne), Dutch (nl), Romanian (ro), Russian (ru), Sinhala (si), Turkish (tr), Vietnamese (vi), Chinese (zh), Afrikaans (af), Azerbaijani (az), Bengali (bn), Persian (fa), Hebrew (he), Coatian (hr), Indonesian (id), Georgian (ka), Khmer (km), Macedonian (mk), Malayalam (ml), Mongolian (mn), Marathi (mr), Polish (pl), Pashto (ps), Portuguse (pt), Swedish (sv), Swahili (sw), Tamil (ta), Telugu (te), Thai (th), Tagalog (tl), Ukranian (uk), Urdu (ur), Xhosa (xh), Galician (gl), Slovene (sl).
Please note that many of these languages are what are referred to as low-resource languages. As such, expect translations from and to these languages to be subpar.
Specific-improved
Our specific-improved translation models aim to improve the correctness of translations between specific languages. If you are using our standard (and default) system and translate between these languages, you will automatically be using these specifically-improved translation models.
Language-pairs:
- nl-en
- en-nl
- fr-en (SOON)
- en-fr (SOON)
- de-en (SOON)
- en-de (SOON)
Slang-optimized
Next to our standard translation model which includes so called 'many-to-many' translations, we also have a slang-optimized system. These models are specifically trained to correct for slang translations.
- nl-en (SOON)
- en-nl (SOON)
Existing projects
Here we will list open-source applications utilizing our translation-API. Would you like to be added to this list? Contact us!
- Spigot-auto-translate
- Discord translation bot (SOON)
Using the API
We offer a readily-available API if you want to use our translation service. All this requires is a valid API key if you are calling over 20,000 queries a month. Our documentation aims to give you a quick overview of how to correctly call our API and what to expect.
What you'll need
Depending on what language you would like to use, there are basic requirements you must meet before you can start calling our REST API's over http protocol. If you are familiar with coding, you can simply call our REST API. Rest assured, if you are not familiar, you can always refer to our examples.
Python
Our documentation assumes you have the requests package installed, which you can install by running:
pip install requests
Java
Java has the HttpURLConnection class which we can use to make our http calls. As long as you're using any java version above java 1.1, you're set!
Issues & support
We are dedicated to helping you out, as such you have a number of ways of contacting us:
- Email (SOON)
- Support ticket (SOON)
- Our discord server