You are here

public function TranslatorInterface::mapToLocalLanguages in Translation Management Tool 8

Maps remote languages to local languages.

Returns a list of local languages that can be mapped to any of the remote languages.

Parameters

string[] $remote_languages: Remote language codes.

Return value

string[] Local language codes.

Related topics

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

File

src/TranslatorInterface.php, line 213

Class

TranslatorInterface
Interface for the tmgmt_translator entity.

Namespace

Drupal\tmgmt

Code

public function mapToLocalLanguages(array $remote_languages);