public function TMGMTDefaultTranslatorPluginController::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 TMGMTTranslatorPluginControllerInterface::getDefaultRemoteLanguagesMappings
2 calls to TMGMTDefaultTranslatorPluginController::getDefaultRemoteLanguagesMappings()
- TMGMTDefaultTranslatorPluginController::mapToLocalLanguage in plugin/
tmgmt.plugin.translator.inc - Maps remote language to local language.
- TMGMTDefaultTranslatorPluginController::mapToRemoteLanguage in plugin/
tmgmt.plugin.translator.inc - Maps local language to remote language.
1 method overrides TMGMTDefaultTranslatorPluginController::getDefaultRemoteLanguagesMappings()
- TMGMTTestTranslatorPluginController::getDefaultRemoteLanguagesMappings in tests/
tmgmt_test.plugin.translator.inc - Specifies default mappings for local to remote language codes.
File
- plugin/
tmgmt.plugin.translator.inc, line 65 - Contains the abstract translator base plugin class.
Class
- TMGMTDefaultTranslatorPluginController
- Default controller class for service plugins.
Code
public function getDefaultRemoteLanguagesMappings() {
return array();
}