public function LingotekInterface::getDocumentTranslationStatus in Lingotek Translation 3.4.x
Same name and namespace in other branches
- 8 src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getDocumentTranslationStatus()
- 8.2 src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getDocumentTranslationStatus()
- 4.0.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getDocumentTranslationStatus()
- 3.0.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getDocumentTranslationStatus()
- 3.1.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getDocumentTranslationStatus()
- 3.2.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getDocumentTranslationStatus()
- 3.3.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getDocumentTranslationStatus()
- 3.5.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getDocumentTranslationStatus()
- 3.6.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getDocumentTranslationStatus()
- 3.7.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getDocumentTranslationStatus()
- 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
Namespace
Drupal\lingotekCode
public function getDocumentTranslationStatus($doc_id, $locale);