You are here

public function TMGMTTranslator::mapToRemoteLanguage in Translation Management Tool 7

Maps local language to remote language.

Parameters

$language: Local language code.

Return value

string Remote language code.

Related topics

File

entity/tmgmt.entity.translator.inc, line 267

Class

TMGMTTranslator
Entity class for the tmgmt_translator entity.

Code

public function mapToRemoteLanguage($language) {
  return $this
    ->getController()
    ->mapToRemoteLanguage($this, $language);
}