Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/102966/?format=api
{ "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_arch-handbook/en/?format=api", "source": [ "Produce an internal label structure based on externalized label data in text format. Currently, all policies' <function>internalize</function> entry points are called when internalization is requested, so the implementation should compare the contents of <parameter>element_name</parameter> to its own name in order to be sure it should be internalizing the data in <parameter>element_data</parameter>. Just as in the <function>externalize</function> entry points, the entry point should return <returnvalue>0</returnvalue> if <parameter>element_name</parameter> does not match its own name, or when data can successfully be internalized, in which case <varname>*claimed</varname> should be incremented." ], "previous_source": "", "target": [ "Produce an internal label structure based on externalized label data in text format. Currently, all policies' <function>internalize</function> entry points are called when internalization is requested, so the implementation should compare the contents of <parameter>element_name</parameter> to its own name in order to be sure it should be internalizing the data in <parameter>element_data</parameter>. Just as in the <function>externalize</function> entry points, the entry point should return <returnvalue>0</returnvalue> if <parameter>element_name</parameter> does not match its own name, or when data can successfully be internalized, in which case <varname>*claimed</varname> should be incremented." ], "id_hash": 3067744922689800910, "content_hash": 3067744922689800910, "location": "book.translate.xml:7196, book.translate.xml:7271, book.translate.xml:7346, book.translate.xml:7421, book.translate.xml:7496", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 826, "has_suggestion": false, "has_comment": false, "has_failing_check": true, "num_words": 86, "source_unit": "https://translate-dev.freebsd.org/api/units/102966/?format=api", "priority": 100, "id": 102966, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/en/?checksum=aa92d1c0ea6f0ace", "url": "https://translate-dev.freebsd.org/api/units/102966/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2019-10-20T12:21:52.445037Z" }