Translation components API.

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

GET /api/translations/yunohost-apps-test/weblate/de/units/?format=api
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 5,
    "next": null,
    "previous": null,
    "results": [
        {
            "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/weblate/de/?format=api",
            "source": [
                "You'll need to give Weblate a GitHub user and a token. Please read [GitHub's documentation about token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/).  This user will only be used to open the pull-request, each translation keep his author."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -4450427148558788697,
            "content_hash": -4450427148558788697,
            "location": "src/weblate/ADMIN.md:5",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 3,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 32,
            "source_unit": "https://translate.yunohost.org/api/units/132599/?format=api",
            "priority": 100,
            "id": 140237,
            "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/weblate/de/?checksum=423ce816776617a7",
            "url": "https://translate.yunohost.org/api/units/140237/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2025-03-20T09:04:24.730666Z"
        },
        {
            "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/weblate/de/?format=api",
            "source": [
                "**SSH keys**, you will have to go in administration, and generate a public key for Weblate and add github.com so Weblate knows the fingerprint. Please note if your account already have a public key (ssh-rsa), you will have to manually add the Weblate's one to your GitHub account.\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 5216398775163462448,
            "content_hash": 5216398775163462448,
            "location": "src/weblate/ADMIN.md:7",
            "context": "",
            "note": "type: Plain text",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 4,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 48,
            "source_unit": "https://translate.yunohost.org/api/units/132600/?format=api",
            "priority": 100,
            "id": 140238,
            "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/weblate/de/?checksum=c8645f0c6066a330",
            "url": "https://translate.yunohost.org/api/units/140238/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2025-03-20T09:04:24.733520Z"
        },
        {
            "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/weblate/de/?format=api",
            "source": [
                "Almost everything related to Weblate's configuration is handled in a `settings.py` file.  You can edit the file `__INSTALL_DIR__/local_settings.py` to enable or disable features."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -1067467998483326351,
            "content_hash": -1067467998483326351,
            "location": "src/weblate/ADMIN.md:12",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 5,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 23,
            "source_unit": "https://translate.yunohost.org/api/units/132601/?format=api",
            "priority": 100,
            "id": 140239,
            "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/weblate/de/?checksum=712f9782d54dda71",
            "url": "https://translate.yunohost.org/api/units/140239/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2025-03-20T09:04:24.737191Z"
        },
        {
            "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/weblate/de/?format=api",
            "source": [
                "It doesn't work yet, but while [it looks doable](https://docs.weblate.org/en/latest/admin/auth.html?highlight=LDAP#ldap-authentication), I'm unsure it is a good idea to connect this kind of tools to your LDAP."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -1903162244207531957,
            "content_hash": -1903162244207531957,
            "location": "src/weblate/ADMIN.md:17",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 8,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 25,
            "source_unit": "https://translate.yunohost.org/api/units/132605/?format=api",
            "priority": 100,
            "id": 140242,
            "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/weblate/de/?checksum=65969c05b413284b",
            "url": "https://translate.yunohost.org/api/units/140242/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2025-03-20T09:04:24.745126Z"
        },
        {
            "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/weblate/de/?format=api",
            "source": [
                "Weblate is a libre web-based translation tool with tight version control integration. It provides two user interfaces, propagation of translations across components, quality checks and automatic linking to source files."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -2624988690651188784,
            "content_hash": -2624988690651188784,
            "location": "src/weblate/DESCRIPTION.md:1",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 9,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 30,
            "source_unit": "https://translate.yunohost.org/api/units/132606/?format=api",
            "priority": 100,
            "id": 140243,
            "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/weblate/de/?checksum=5b922ab1925171d0",
            "url": "https://translate.yunohost.org/api/units/140243/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2025-03-20T09:04:24.747714Z"
        }
    ]
}