File Machine Translations (MT)

Get language detection progress

Changed on

Get progress for an ongoing source language detection action. Result of language detection is propagated to response as soon as state changes to COMPLETED.

get/file-translations-api/v2/accounts/{accountUid}/files/{fileUid}/language-detection/{languageDetectionUid}/status

Request

  • Base URL
    https://api.smartling.com
  • Auth
    HTTP bearer

Path parameters

accountUidstring required

The account’s unique identifier. This can be found in the Smartling Dashboard under Account Settings > API.

fileUidstring required

Unique identifier of the uploaded file.

languageDetectionUidstring required

Unique identifier of language detection action triggered on a file.

Response

OK

Example response

{
  "response": {
    "data": {
      "error": {
        "key": "general_error",
        "message": "Unexpected server error",
        "details": {}
      },
      "detectedSourceLanguages": [
        {
          "defaultLocaleId": "fr-FR"
        }
      ]
    }
  }
}

Changes