You are here

public function LingotekApiInterface::addTranslation in Lingotek Translation 3.3.x

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

Adds a document target translation for a given locale from the Lingotek service.

Parameters

string $id: The document id.

string $locale: The target locale.

string $workflow_id: (Optional) The workflow ID.

Return value

\Psr\Http\Message\ResponseInterface A response.

1 method overrides LingotekApiInterface::addTranslation()
LingotekApi::addTranslation in src/Remote/LingotekApi.php
Adds a document target translation for a given locale from the Lingotek service.

File

src/Remote/LingotekApiInterface.php, line 152

Class

LingotekApiInterface

Namespace

Drupal\lingotek\Remote

Code

public function addTranslation($id, $locale, $workflow_id = NULL);