Translation Instance
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/session/main/ar/?format=api
{ "language": { "id": 21, "code": "ar", "name": "Arabic", "plural": { "id": 21, "source": 0, "number": 6, "formula": "n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 ? 4 : 5", "type": 3 }, "aliases": [ "ar_ar", "ara" ], "direction": "rtl", "population": 351664195, "web_url": "https://translate.stayinsession.com/languages/ar/", "url": "https://translate.stayinsession.com/api/languages/ar/?format=api", "statistics_url": "https://translate.stayinsession.com/api/languages/ar/statistics/?format=api" }, "component": { "name": "main", "slug": "main", "id": 1, "source_language": { "id": 149, "code": "en", "name": "English", "plural": { "id": 149, "source": 0, "number": 2, "formula": "n != 1", "type": 1 }, "aliases": [ "en_en", "base", "source", "enp", "eng" ], "direction": "ltr", "population": 1636485517, "web_url": "https://translate.stayinsession.com/languages/en/", "url": "https://translate.stayinsession.com/api/languages/en/?format=api", "statistics_url": "https://translate.stayinsession.com/api/languages/en/statistics/?format=api" }, "project": { "name": "Session", "slug": "session", "id": 1, "web": "https://www.stayinsession.com", "web_url": "https://translate.stayinsession.com/projects/session/", "url": "https://translate.stayinsession.com/api/projects/session/?format=api", "components_list_url": "https://translate.stayinsession.com/api/projects/session/components/?format=api", "repository_url": "https://translate.stayinsession.com/api/projects/session/repository/?format=api", "statistics_url": "https://translate.stayinsession.com/api/projects/session/statistics/?format=api", "categories_url": "https://translate.stayinsession.com/api/projects/session/categories/?format=api", "changes_list_url": "https://translate.stayinsession.com/api/projects/session/changes/?format=api", "languages_url": "https://translate.stayinsession.com/api/projects/session/languages/?format=api", "labels_url": "https://translate.stayinsession.com/api/projects/session/labels/?format=api", "translation_review": false, "source_review": false, "set_language_team": true, "instructions": "- Try to be consistent on words that occurs often like \"enable\", \"cancel\", \"pause\", \"break\" etc. Put common word to `glossary` to make it consistent!\r\n- Don't translate some words like \"Applescript\" as there are no local alternatives for that (or are they? I'm not familiar if Applescript is localized)\r\n- Be consistent how the word \"Session\" is translated. Put it into `glossary`.\r\n- Text with `%@` means it will be replaced with another word. For example \"Hello, %@\" will become \"Hello, Philip\" in the app. It would be helpful to translate it as (in Spanish) \"Hola, %@\"\r\n- %lld is the same with %@, but it will be replaced with digits (120, etc)\r\n- If you're not sure what to translate, just leave it empty\r\n- Don't hesitate to ask if you're confused!\r\n\r\n- Siri spoken phrase. Make sure the language you want to translate supported by Siri. Otherwise it won't get used.", "enable_hooks": true, "language_aliases": "" }, "vcs": "local", "repo": "local:", "git_export": "https://translate.stayinsession.com/git/session/main/", "branch": "main", "push_branch": "", "filemask": "LocalizationSession/*.lproj/Localizable.strings", "screenshot_filemask": "", "template": "LocalizationSession/en.lproj/Localizable.strings", "edit_template": true, "intermediate": "", "new_base": "", "file_format": "strings-utf8", "license": "MIT", "license_url": "https://spdx.org/licenses/MIT.html", "agreement": "", "web_url": "https://translate.stayinsession.com/projects/session/main/", "url": "https://translate.stayinsession.com/api/components/session/main/?format=api", "repository_url": "https://translate.stayinsession.com/api/components/session/main/repository/?format=api", "translations_url": "https://translate.stayinsession.com/api/components/session/main/translations/?format=api", "statistics_url": "https://translate.stayinsession.com/api/components/session/main/statistics/?format=api", "lock_url": "https://translate.stayinsession.com/api/components/session/main/lock/?format=api", "links_url": "https://translate.stayinsession.com/api/components/session/main/links/?format=api", "changes_list_url": "https://translate.stayinsession.com/api/components/session/main/changes/?format=api", "task_url": null, "new_lang": "add", "language_code_style": "", "push": "", "check_flags": "placeholders:%@:%lld:%1$@:%2$@", "priority": 80, "enforced_checks": [], "restricted": false, "repoweb": "", "report_source_bugs": "", "merge_style": "rebase", "commit_message": "Translated using Weblate ({{ language_name }})\r\n\r\nCurrently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\nTranslate-URL: {{ url }}", "add_message": "Added translation using Weblate ({{ language_name }})", "delete_message": "Deleted translation using Weblate ({{ language_name }})", "merge_message": "Merge branch '{{ component_remote_branch }}' into Weblate.", "addon_message": "Update translation files\r\n\r\nUpdated by \"{{ addon_name }}\" hook in Weblate.\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\nTranslate-URL: {{ url }}", "pull_message": "Translations update from {{ site_title }}\r\n\r\nTranslations update from [{{ site_title }}]({{ site_url }}) for [{{ project_name }}/{{ component_name }}]({{url}}).\r\n\r\n{% if component_linked_childs %}\r\nIt also includes following components:\r\n{% for linked in component_linked_childs %}\r\n* [{{ linked.project_name }}/{{ linked.name }}]({{ linked.url }})\r\n{% endfor %}\r\n{% endif %}\r\n\r\nCurrent translation status:\r\n\r\n", "allow_translation_propagation": true, "manage_units": true, "enable_suggestions": true, "suggestion_voting": false, "suggestion_autoaccept": 0, "push_on_commit": true, "commit_pending_age": 24, "auto_lock_error": true, "language_regex": "^[^.]+$", "variant_regex": "", "addons": [ "https://translate.stayinsession.com/api/addons/1/?format=api", "https://translate.stayinsession.com/api/addons/2/?format=api" ], "is_glossary": false, "glossary_color": "silver", "category": null }, "language_code": "ar", "id": 2, "filename": "LocalizationSession/ar.lproj/Localizable.strings", "revision": "71e1c773bb1f3279c2c087c11ca4df75be0c1ca9,3338fd788492fceeaa7d8554344296906f0839ea", "web_url": "https://translate.stayinsession.com/projects/session/main/ar/", "share_url": "https://translate.stayinsession.com/engage/session/-/ar/", "translate_url": "https://translate.stayinsession.com/translate/session/main/ar/", "url": "https://translate.stayinsession.com/api/translations/session/main/ar/?format=api", "is_template": false, "is_source": false, "total": 716, "total_words": 3679, "translated": 498, "translated_words": 2367, "translated_percent": 69.5, "fuzzy": 7, "fuzzy_words": 98, "fuzzy_percent": 0.9, "failing_checks": 55, "failing_checks_words": 648, "failing_checks_percent": 7.6, "have_suggestion": 0, "have_comment": 0, "last_change": "2025-02-28T18:38:18.994082Z", "last_author": "philipyoungg", "repository_url": "https://translate.stayinsession.com/api/translations/session/main/ar/repository/?format=api", "file_url": "https://translate.stayinsession.com/api/translations/session/main/ar/file/?format=api", "statistics_url": "https://translate.stayinsession.com/api/translations/session/main/ar/statistics/?format=api", "changes_list_url": "https://translate.stayinsession.com/api/translations/session/main/ar/changes/?format=api", "units_list_url": "https://translate.stayinsession.com/api/translations/session/main/ar/units/?format=api" }