public function LingotekInterfaceTranslationServiceInterface::addTarget in Lingotek Translation 3.5.x
Same name and namespace in other branches
- 4.0.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::addTarget()
- 3.2.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::addTarget()
- 3.3.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::addTarget()
- 3.4.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::addTarget()
- 3.6.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::addTarget()
- 3.7.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::addTarget()
- 3.8.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::addTarget()
Request a translation for a given component in the given locale.
Parameters
string $component: The component which target we want to add.
string $locale: Lingotek translation language which we want to modify.
Throws
\Drupal\lingotek\Exception\LingotekPaymentRequiredException
\Drupal\lingotek\Exception\LingotekDocumentArchivedException
\Drupal\lingotek\Exception\LingotekDocumentLockedException
\Drupal\lingotek\Exception\LingotekApiException
1 method overrides LingotekInterfaceTranslationServiceInterface::addTarget()
- LingotekInterfaceTranslationService::addTarget in src/
LingotekInterfaceTranslationService.php - Request a translation for a given component in the given locale.
File
- src/
LingotekInterfaceTranslationServiceInterface.php, line 206
Class
- LingotekInterfaceTranslationServiceInterface
- Service for managing Lingotek interface translations.
Namespace
Drupal\lingotekCode
public function addTarget($component, $locale);