function l10n_update_translatable_language_list in Localization update 7.2
Returns list of translatable languages.
Return value
array Array of enabled languages keyed by language name. English is omitted.
16 calls to l10n_update_translatable_language_list()
- l10n_update_batch_fetch_build in ./
l10n_update.fetch.inc - Builds a batch to download and import project translations.
- l10n_update_batch_status_build in ./
l10n_update.compare.inc - Builds a batch to get the status of remote and local translation files.
- l10n_update_batch_update_build in ./
l10n_update.fetch.inc - Builds a batch to check, download and import project translations.
- l10n_update_build_sources in ./
l10n_update.translation.inc - Build translation sources.
- l10n_update_check_projects_local in ./
l10n_update.compare.inc - Check and store the status and timestamp of local po files.
File
- ./
l10n_update.module, line 780 - Download translations from remote localization server.
Code
function l10n_update_translatable_language_list() {
$languages = locale_language_list('name');
unset($languages['en']);
drupal_alter('l10n_update_languages', $languages);
return $languages;
}