You are here

public function TMGMTTranslator::mapToLocalLanguage in Translation Management Tool 7

Maps remote language to local language.

Parameters

$language: Remote language code.

Return value

string Local language code.

Related topics

File

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

Class

TMGMTTranslator
Entity class for the tmgmt_translator entity.

Code

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