You are here

public function TranslatorInterface::mapToRemoteLanguage in Translation Management Tool 8

Maps local language to remote language.

Parameters

string $language: Local language code.

Return value

string Remote language code.

Related topics

1 method overrides TranslatorInterface::mapToRemoteLanguage()
Translator::mapToRemoteLanguage in src/Entity/Translator.php
Maps local language to remote language.

File

src/TranslatorInterface.php, line 226

Class

TranslatorInterface
Interface for the tmgmt_translator entity.

Namespace

Drupal\tmgmt

Code

public function mapToRemoteLanguage($language);