You are here

public function GoogleTranslator::getDefaultRemoteLanguagesMappings in TMGMT Translator Google 8

Overrides TMGMTDefaultTranslatorPluginController::getDefaultRemoteLanguagesMappings().

Overrides TranslatorPluginBase::getDefaultRemoteLanguagesMappings

File

src/Plugin/tmgmt/Translator/GoogleTranslator.php, line 201
Contains \Drupal\tmgmt_microsoft\Plugin\tmgmt\Translator\MicrosoftTranslator.

Class

GoogleTranslator
Google translator plugin.

Namespace

Drupal\tmgmt_google\Plugin\tmgmt\Translator

Code

public function getDefaultRemoteLanguagesMappings() {
  return array(
    'zh-hans' => 'zh-CHS',
    'zh-hant' => 'zh-CHT',
  );
}