locale_translation_check_projects

function locale_translation_check_projects

locale_translation_check_projects($projects = array(), $langcodes = array())

Check for the latest release of project translations.

@todo Return batch or NULL.

Parameters

array $projects: Array of project names to check. Defaults to all translatable projects.

string $langcodes: Array of language codes. Defaults to all translatable languages.

Return value

array Available sources indexed by project and language.

File

core/modules/locale/locale.compare.inc, line 184
The API for comparing project translation status with available translation.

Code

function locale_translation_check_projects($projects = array(), $langcodes = array()) {
  i