public function LingotekInterfaceTranslationServiceInterface::downloadDocument in Lingotek Translation 3.2.x
Same name and namespace in other branches
- 4.0.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::downloadDocument()
- 3.3.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::downloadDocument()
- 3.4.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::downloadDocument()
- 3.5.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::downloadDocument()
- 3.6.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::downloadDocument()
- 3.7.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::downloadDocument()
- 3.8.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::downloadDocument()
Downloads a document from the Lingotek service for a given locale.
Parameters
string $component: The component being downloaded.
string $locale: Lingotek translation language which we want to download.
Return value
bool TRUE if the document was downloaded successfully, FALSE if not.
1 method overrides LingotekInterfaceTranslationServiceInterface::downloadDocument()
- LingotekInterfaceTranslationService::downloadDocument in src/
LingotekInterfaceTranslationService.php - Downloads a document from the Lingotek service for a given locale.
File
- src/
LingotekInterfaceTranslationServiceInterface.php, line 252
Class
- LingotekInterfaceTranslationServiceInterface
- Service for managing Lingotek interface translations.
Namespace
Drupal\lingotekCode
public function downloadDocument($component, $locale);