public function LingotekInterfaceTranslationServiceInterface::getSourceLocale in Lingotek Translation 3.6.x
Same name and namespace in other branches
- 4.0.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::getSourceLocale()
- 3.2.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::getSourceLocale()
- 3.3.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::getSourceLocale()
- 3.4.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::getSourceLocale()
- 3.5.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::getSourceLocale()
- 3.7.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::getSourceLocale()
- 3.8.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::getSourceLocale()
Gets the translation source locale of a given component.
Parameters
string $component: The component which we want to get the source locale.
Return value
string The locale as expected by the Lingotek service.
1 method overrides LingotekInterfaceTranslationServiceInterface::getSourceLocale()
- LingotekInterfaceTranslationService::getSourceLocale in src/
LingotekInterfaceTranslationService.php - Gets the translation source locale of a given component.
File
- src/
LingotekInterfaceTranslationServiceInterface.php, line 159
Class
- LingotekInterfaceTranslationServiceInterface
- Service for managing Lingotek interface translations.
Namespace
Drupal\lingotekCode
public function getSourceLocale($component);