public function TMGMTTestTranslatorPluginController::getDefaultRemoteLanguagesMappings in Translation Management Tool 7
Specifies default mappings for local to remote language codes.
This method can be used in case we know in advance what language codes are used by the remote translator and to which local language codes they correspond.
Return value
array An array of local => remote language codes.
Overrides TMGMTDefaultTranslatorPluginController::getDefaultRemoteLanguagesMappings
File
- tests/
tmgmt_test.plugin.translator.inc, line 23 - Cotains the test translator plugin.
Class
- TMGMTTestTranslatorPluginController
- @file Cotains the test translator plugin.
Code
public function getDefaultRemoteLanguagesMappings() {
return array(
'en' => 'en-us',
'de' => 'de-ch',
);
}