You are here

function lingotek_download_node_machine_translation in Lingotek Translation 7.2

Batch Worker Function: Download a Machine Translation

1 string reference to 'lingotek_download_node_machine_translation'
lingotek_bulk_mt_download_batch_create in ./lingotek.batch.inc
Batch Create - Download: Create a Bulk Machine Translate DOWNLOAD Batch.

File

./lingotek.batch.inc, line 321

Code

function lingotek_download_node_machine_translation($nid, $language_code, &$context) {
  $node = node_load($nid);
  lingotek_download_document($node, $language_code);
  $context['results'][] = 'Download Translated Node Content: ' . $nid;
}