function l10n_update_language_list in Localization update 7
Same name and namespace in other branches
- 6 l10n_update.module \l10n_update_language_list()
Get language list.
Return value
array Array of installed language names. English is the source language and is therefore not included.
6 calls to l10n_update_language_list()
- l10n_update_admin_import_form in ./l10n_update.admin.inc 
- Translation update form.
- l10n_update_admin_overview in ./l10n_update.admin.inc 
- Page callback: Admin overview page.
- l10n_update_available_releases in ./l10n_update.check.inc 
- Fetch update information for all projects / all languages.
- l10n_update_check_projects in ./l10n_update.check.inc 
- Check latest release for project, language.
- l10n_update_requirements in ./l10n_update.install 
- Implements hook_requirements().
File
- ./l10n_update.module, line 412 
- Download translations from remote localization server.
Code
function l10n_update_language_list() {
  $languages = locale_language_list('name');
  // Skip English language
  if (isset($languages['en'])) {
    unset($languages['en']);
  }
  return $languages;
}