You are here

public function TMGMTTranslatorPluginControllerInterface::mapToRemoteLanguage in Translation Management Tool 7

Maps local language to remote language.

Parameters

TMGMTTranslator $translator: Translator entity for which to get remote language.

$language: Local language code.

Return value

string Remote language code.

Related topics

1 method overrides TMGMTTranslatorPluginControllerInterface::mapToRemoteLanguage()
TMGMTDefaultTranslatorPluginController::mapToRemoteLanguage in plugin/tmgmt.plugin.translator.inc
Maps local language to remote language.

File

plugin/tmgmt.plugin.interface.translator.inc, line 125
Contains the source plugin interface.

Class

TMGMTTranslatorPluginControllerInterface
Interface for service plugin controllers.

Code

public function mapToRemoteLanguage(TMGMTTranslator $translator, $language);