Language detection
The DeepL API can automatically detect the source language. Here are tips for getting the best possible results from source language detection.
Our translation and document translation endpoints allow you to automatically detect the source language or set it. It is recommended to set the source language whenever possible, as this has a positive effect on translation quality. If you cannot specify the source language, the more context you provide, the better your results will be. Single words can lead to incorrect language detection, so the longer your text, the more reliable it will be.
If you are translating single words or very short sentences, the results will generally be more reliable if the source language is specified. You can find all available source languages here, and you can read more about translation context in the next chapter.
Last updated