You are here

function lingotek_set_target_sync_status in Lingotek Translation 7.2

Sets the Node Target language to the specified value.

4 calls to lingotek_set_target_sync_status()
lingotek_add_target_sync_status_to_all_nodes in ./lingotek.sync.inc
When a new MT language is added, add a Target status tag to every node.
lingotek_download_document in ./lingotek.api.inc
lingotek_form_node_form_alter in ./lingotek.module
Implements hook_form_BASE_FORM_ID_alter().
lingotek_set_node_and_targets_sync_status in ./lingotek.sync.inc
Sets the Node and Target languages to a given value. Note: All targets get the SAME status.

File

./lingotek.sync.inc, line 42
Content translation management and sync functions.

Code

function lingotek_set_target_sync_status($node_id, $lingotek_locale, $node_status) {
  $key = 'target_sync_status_' . $lingotek_locale;
  return lingotek_lingonode($node_id, $key, $node_status);
}