Units API

See the Weblate's Web API documentation for detailed description of the API.

GET /api/units/256580/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://weblate.appinventor.mit.edu/api/translations/appinventor/component-methods/ja/?format=api",
    "source": "By providing a target language to translate to (for instance, ''es'' for Spanish, ''en'' for English, or ''ru'' for Russian), and a word or sentence to translate, this method will request a translation to the Yandex.Translate service.Once the text is translated by the external service, the event GotTranslation will be executed.Note: Yandex.Translate will attempt to detect the source language. You can also specify prepending it to the language translation. I.e., es-ru will specify Spanish to Russian translation.",
    "previous_source": "",
    "target": "翻訳先の言語 (たとえば、スペイン語なら ''es''、英語なら ''en''、ロシア語なら ''ru'') と翻訳する単語や文を指定すると、このメソッドは Yandex.翻訳サービスに翻訳を依頼します。テキストが外部サービスで翻訳されると、翻訳取得イベントが実行されます。また、翻訳言語の前に指定することもできます。例えば、es-ruはスペイン語からロシア語への翻訳を指定します。",
    "id_hash": -4485996998285152589,
    "content_hash": -6178476411449348379,
    "location": "",
    "context": "YandexTranslate__RequestTranslationMethodDescriptions",
    "comment": "",
    "flags": "",
    "fuzzy": false,
    "translated": true,
    "position": 810,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 77,
    "priority": 100,
    "id": 256580,
    "web_url": "https://weblate.appinventor.mit.edu/translate/appinventor/component-methods/ja/?checksum=41be897f75beaeb3",
    "url": "https://weblate.appinventor.mit.edu/api/units/256580/?format=api",
    "source_info": "https://weblate.appinventor.mit.edu/api/sources/12200/?format=api"
}