Translation components API.

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

GET /api/translations/documentation/booksdevelopers-handbookl10n_index/id/units/?format=api&page=2
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 56,
    "next": null,
    "previous": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookl10n_index/id/units/?format=api",
    "results": [
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookl10n_index/id/?format=api",
            "source": [
                "#include err.h\n...\nif ((p = malloc(size)) == NULL)\n\terr(1, NULL);\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 1175525248773058998,
            "content_hash": 1175525248773058998,
            "location": "documentation/content/en/books/developers-handbook/l10n/_index.adoc:242",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 51,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 11,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1065932/?format=api",
            "priority": 100,
            "id": 1407508,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookl10n_index/id/?checksum=90504dfc4d9ef1b6",
            "url": "https://translate-dev.freebsd.org/api/units/1407508/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2022-03-09T18:38:15.452091Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookl10n_index/id/?format=api",
            "source": [
                "Making use of [.filename]#bsd.nls.mk#"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 763532724826776022,
            "content_hash": 763532724826776022,
            "location": "documentation/content/en/books/developers-handbook/l10n/_index.adoc:245",
            "context": "",
            "note": "type: Title ===",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 52,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 4,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1065934/?format=api",
            "priority": 100,
            "id": 1407509,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookl10n_index/id/?checksum=8a989cf7c5afa1d6",
            "url": "https://translate-dev.freebsd.org/api/units/1407509/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2022-03-09T18:38:15.456748Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookl10n_index/id/?format=api",
            "source": [
                "Using the catalog files requires few repeatable steps, such as compiling the catalogs and installing them to the proper location.  In order to simplify this process even more, [.filename]#bsd.nls.mk# introduces some macros.  It is not necessary to include [.filename]#bsd.nls.mk# explicitly, it is pulled in from the common Makefiles, such as [.filename]#bsd.prog.mk# or [.filename]#bsd.lib.mk#."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -4753347688577151107,
            "content_hash": -4753347688577151107,
            "location": "documentation/content/en/books/developers-handbook/l10n/_index.adoc:250",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 53,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 53,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1191668/?format=api",
            "priority": 100,
            "id": 1407510,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookl10n_index/id/?checksum=3e08b776286f4f7d",
            "url": "https://translate-dev.freebsd.org/api/units/1407510/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2022-03-09T18:38:15.460856Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookl10n_index/id/?format=api",
            "source": [
                "Usually it is enough to define `NLSNAME`, which should have the catalog name mentioned as the first argument of man:catopen[3] and list the catalog files in `NLS` without their `.msg` extension.  Here is an example, which makes it possible to to disable NLS when used with the code examples before.  The `WITHOUT_NLS` man:make[1] variable has to be defined in order to build the program without NLS support."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -6182045384794604573,
            "content_hash": -6182045384794604573,
            "location": "documentation/content/en/books/developers-handbook/l10n/_index.adoc:254",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 54,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 67,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1191670/?format=api",
            "priority": 100,
            "id": 1407511,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookl10n_index/id/?checksum=2a34f679f5f97be3",
            "url": "https://translate-dev.freebsd.org/api/units/1407511/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2022-03-09T18:38:15.464616Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookl10n_index/id/?format=api",
            "source": [
                ".if !defined(WITHOUT_NLS)\nNLS=\tes_ES.ISO8859-1\nNLS+=\thu_HU.ISO8859-2\nNLS+=\tpt_BR.ISO8859-1\n.else\nCFLAGS+=\t-DWITHOUT_NLS\n.endif\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 5498801237865218895,
            "content_hash": 5498801237865218895,
            "location": "documentation/content/en/books/developers-handbook/l10n/_index.adoc:264",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 55,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 12,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1065940/?format=api",
            "priority": 100,
            "id": 1407512,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookl10n_index/id/?checksum=cc4faa97896f434f",
            "url": "https://translate-dev.freebsd.org/api/units/1407512/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2022-03-09T18:38:15.468897Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookl10n_index/id/?format=api",
            "source": [
                "Conventionally, the catalog files are placed under the [.filename]#nls# subdirectory and this is the default behavior of [.filename]#bsd.nls.mk#.  It is possible, though to override the location of the catalogs with the `NLSSRCDIR` man:make[1] variable.  The default name of the precompiled catalog files also follow the naming convention mentioned before.  It can be overridden by setting the `NLSNAME` variable.  There are other options to fine tune the processing of the catalog files but usually it is not needed, thus they are not described here.  For further information on [.filename]#bsd.nls.mk#, please refer to the file itself, it is short and easy to understand."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 3953282806054382204,
            "content_hash": 3953282806054382204,
            "location": "documentation/content/en/books/developers-handbook/l10n/_index.adoc:271",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 56,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 101,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1191672/?format=api",
            "priority": 100,
            "id": 1407513,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookl10n_index/id/?checksum=b6dce1c44787ea7c",
            "url": "https://translate-dev.freebsd.org/api/units/1407513/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2022-03-09T18:38:15.472689Z"
        }
    ]
}