Translation components API.

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

GET /api/translations/documentation/booksdevelopers-handbookl10n_index/zh_CN/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/zh_CN/units/?format=api",
    "results": [
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookl10n_index/zh_CN/?format=api",
            "source": [
                "After opening a catalog man:catgets[3] can be used to retrieve a message.  The first parameter is the catalog identifier returned by man:catopen[3], the second one is the number of the set, the third one is the number of the messages, and the fourth one is a fallback message, which will be returned if the requested message cannot be retrieved from the catalog file."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -4787182018651347581,
            "content_hash": -4787182018651347581,
            "location": "documentation/content/en/books/developers-handbook/l10n/_index.adoc:139",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 27,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 63,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1191662/?format=api",
            "priority": 100,
            "id": 1191839,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookl10n_index/zh_CN/?checksum=3d9083514f262583",
            "url": "https://translate-dev.freebsd.org/api/units/1191839/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-06-08T11:24:29.056370Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookl10n_index/zh_CN/?format=api",
            "source": [
                "There is a good way of reducing the strings that need to be localized by using libc error messages.  This is also useful to just avoid duplication and provide consistent error messages for the common errors that can be encountered by a great many of programs."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -7179973150193978797,
            "content_hash": -7179973150193978797,
            "location": "documentation/content/en/books/developers-handbook/l10n/_index.adoc:206",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 44,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 46,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1191664/?format=api",
            "priority": 100,
            "id": 1191840,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookl10n_index/zh_CN/?checksum=1c5b9c7605d87253",
            "url": "https://translate-dev.freebsd.org/api/units/1191840/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-06-08T11:24:29.962407Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookl10n_index/zh_CN/?format=api",
            "source": [
                "In this example, the custom string is eliminated, thus translators will have less work when localizing the program and users will see the usual \"Not a directory\" error message when they encounter this error.  This message will probably seem more familiar to them.  Please note that it was necessary to include [.filename]#errno.h# in order to directly access `errno`."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -9188047023561411723,
            "content_hash": -9188047023561411723,
            "location": "documentation/content/en/books/developers-handbook/l10n/_index.adoc:233",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 49,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 58,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1191666/?format=api",
            "priority": 100,
            "id": 1191841,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookl10n_index/zh_CN/?checksum=007d7fe995097375",
            "url": "https://translate-dev.freebsd.org/api/units/1191841/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-06-08T11:24:30.265297Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookl10n_index/zh_CN/?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": 1191842,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookl10n_index/zh_CN/?checksum=3e08b776286f4f7d",
            "url": "https://translate-dev.freebsd.org/api/units/1191842/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-06-08T11:24:30.456313Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookl10n_index/zh_CN/?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": 1191843,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookl10n_index/zh_CN/?checksum=2a34f679f5f97be3",
            "url": "https://translate-dev.freebsd.org/api/units/1191843/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-06-08T11:24:30.555075Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookl10n_index/zh_CN/?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": 1191844,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookl10n_index/zh_CN/?checksum=b6dce1c44787ea7c",
            "url": "https://translate-dev.freebsd.org/api/units/1191844/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-06-08T11:24:30.654964Z"
        }
    ]
}