You are here

public function LingotekInterface::getDocumentTranslationStatus in Lingotek Translation 3.4.x

Same name and namespace in other branches
  1. 8 src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getDocumentTranslationStatus()
  2. 8.2 src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getDocumentTranslationStatus()
  3. 4.0.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getDocumentTranslationStatus()
  4. 3.0.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getDocumentTranslationStatus()
  5. 3.1.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getDocumentTranslationStatus()
  6. 3.2.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getDocumentTranslationStatus()
  7. 3.3.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getDocumentTranslationStatus()
  8. 3.5.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getDocumentTranslationStatus()
  9. 3.6.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getDocumentTranslationStatus()
  10. 3.7.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getDocumentTranslationStatus()
  11. 3.8.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getDocumentTranslationStatus()

Gets the status of the translation.

Parameters

string $doc_id: The document ID in Lingotek.

$locale: The locale we want to know the translation status.

Return value

bool|int Returns TRUE if the document translation is completed. FALSE if it was not requested. The percentage if it's still in progress.

2 methods override LingotekInterface::getDocumentTranslationStatus()
Lingotek::getDocumentTranslationStatus in src/Lingotek.php
Gets the status of the translation.
LingotekFake::getDocumentTranslationStatus in tests/modules/lingotek_test/src/LingotekFake.php
Gets the status of the translation.

File

src/LingotekInterface.php, line 310

Class

LingotekInterface

Namespace

Drupal\lingotek

Code

public function getDocumentTranslationStatus($doc_id, $locale);