/language
This request handler enables you to set the target language (to translate to), and also to detect the
source language of a web domain or block of text. It expects any of the following parameters:
- sl = to set the source language (if requesting a list of machine translation servers)
- tl = to set the target language (it will set a cookie, tl, on the user's browser)
- domain = to detect the language associated with a web domain (e.g. lemonde.fr)
- text = to detect the language for a block of text (auto detection)
if you use this API call to detect the source language, it will return the source language code (2 or 3
letter ISO code), or a blank response if it cannot detect or guess the language.