48 rader · Interfaces. To access the Yandex.Translate API over HTTPS, you can use: XML interface (the response is returned as an XML document). JSON interface (the response is returned as JavaScript objects with the same names and semantics as the XML elements). JSONP interface (the response is returned as JavaScript objects wrapped in a callback function ...
... source and target language in the form source-target using two letter language codes. ... This component is powered by the Yandex translation service.
Languages and characters support. Supported languages. Supported encodings. The two-letter language codes correspond to the ISO 639-1 standard. Azerbaijani (az) Albanian (sq) English (en) Arabic (ar) Armenian (hy)
In the response, the list of supported languages can be found in the langs field together with an explanation of language codes. Language names are output in the language whose code corresponds to this parameter. All language codes are listed in the list of supported languages. callback: Name of the callback function. Used to get a JSONP response.
The language must be specified in 2 digit codes e.g. 'en' for English and the list of supported languages is listed below. Yandex Translate will attempt to detect the source language. You can also specify the language to translate from i.e. 'es-ru' will specify Spanish to Russian.
01.03.2017 · Awesome! Thanks! My app will offer as many languages as there are languages available. Is there a way to get the languages and codes from Yandex Translate somehow so that if a new language is added the app offers that language, too?